Now hexchat_hook_server_attrs() and hexchat_hook_print_attrs() is called

when it should. This should close #661.
This commit is contained in:
Diogo Sousa
2013-07-09 23:11:28 +01:00
parent 98aa62f637
commit 7101b7b864
7 changed files with 29 additions and 15 deletions

View File

@@ -2086,7 +2086,9 @@ text_emit (int index, session *sess, char *a, char *b, char *c, char *d,
for (i = 5; i < PDIWORDS; i++)
word[i] = "\000";
if (plugin_emit_print (sess, word))
/* don't use || here, since it might short-circuit */
if (plugin_emit_print (sess, word)
+ plugin_emit_print_attrs (sess, word, timestamp))
return;
/* If a plugin's callback executes "/close", 'sess' may be invalid */