mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-10 07:50:19 +00:00
Added hexchat_emit_print_attrs() to plugin interface.
This commit is contained in:
@@ -2164,14 +2164,15 @@ text_find_format_string (char *name)
|
||||
}
|
||||
|
||||
int
|
||||
text_emit_by_name (char *name, session *sess, char *a, char *b, char *c, char *d)
|
||||
text_emit_by_name (char *name, session *sess, time_t timestamp,
|
||||
char *a, char *b, char *c, char *d)
|
||||
{
|
||||
int i = 0;
|
||||
|
||||
i = pevent_find (name, &i);
|
||||
if (i >= 0)
|
||||
{
|
||||
text_emit (i, sess, a, b, c, d, 0);
|
||||
text_emit (i, sess, a, b, c, d, timestamp);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user