summary refs log tree commit diff stats
path: root/src/common/plugin.c
diff options
context:
space:
mode:
authorDiogo Sousa <diogogsousa@gmail.com>2013-07-09 23:11:28 +0100
committerDiogo Sousa <diogogsousa@gmail.com>2013-07-09 23:11:28 +0100
commit7101b7b864df280059750c0de4d6b9d41e907122 (patch)
treee294b2b2d5e7e08c744bd8ec891fc28543d17790 /src/common/plugin.c
parent98aa62f637d4ced952a168cb19f8d2fb038c6a16 (diff)
Now hexchat_hook_server_attrs() and hexchat_hook_print_attrs() is called
when it should. This should close #661.
Diffstat (limited to 'src/common/plugin.c')
-rw-r--r--src/common/plugin.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/common/plugin.c b/src/common/plugin.c
index abdd6ea1..ee7c7179 100644
--- a/src/common/plugin.c
+++ b/src/common/plugin.c
@@ -74,11 +74,6 @@ struct _hexchat_hook
 	int pri;	/* fd */	/* priority / fd for HOOK_FD only */
 };
 
-struct _hexchat_event_attrs
-{
-	time_t server_time_utc; /* 0 if not used */
-};
-
 struct _hexchat_list
 {
 	int type;			/* LIST_* */
@@ -634,7 +629,7 @@ plugin_emit_server (session *sess, char *name, char *word[], char *word_eol[])
 }
 
 int
-plugin_emit_server_attr (session *sess, char *name, char *word[], char *word_eol[],
+plugin_emit_server_attrs (session *sess, char *name, char *word[], char *word_eol[],
 						 time_t server_time)
 {
 	hexchat_event_attrs attrs;
@@ -653,7 +648,7 @@ plugin_emit_print (session *sess, char *word[])
 }
 
 int
-plugin_emit_print_attr (session *sess, char *word[], time_t server_time)
+plugin_emit_print_attrs (session *sess, char *word[], time_t server_time)
 {
 	hexchat_event_attrs attrs;