1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-10 19:53:13 +02:00

Renamed hook "event" to "signal"

This commit is contained in:
Sebastien Helleu
2007-12-13 11:47:12 +01:00
parent 7a8fb5b2da
commit 2e74526bb9
14 changed files with 123 additions and 110 deletions
+4 -4
View File
@@ -533,15 +533,15 @@ alias_config_read ()
}
/*
* alias_config_reaload_event_cb: reload alias configuration file
* alias_config_reaload_signal_cb: reload alias configuration file
*/
int
alias_config_reload_event_cb (void *data, char *event, void *pointer)
alias_config_reload_signal_cb (void *data, char *signal, void *pointer)
{
/* make C compiler happy */
(void) data;
(void) event;
(void) signal;
(void) pointer;
alias_free_all ();
@@ -750,7 +750,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin)
"%(alias)",
&unalias_command_cb, NULL);
weechat_hook_event ("config_reload", &alias_config_reload_event_cb, NULL);
weechat_hook_signal ("config_reload", &alias_config_reload_signal_cb, NULL);
weechat_hook_completion ("alias", &alias_completion_cb, NULL);