Added hexchat_emit_print_attrs() to plugin interface.

This commit is contained in:
Diogo Sousa
2013-07-12 01:33:35 +01:00
parent 5e240eb259
commit e0fb3d537d
5 changed files with 45 additions and 9 deletions

View File

@@ -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;
}