1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 09:13:14 +02:00

Changes in IRC plugin to use new API

This commit is contained in:
Sebastien Helleu
2007-12-09 11:47:34 +01:00
parent 30ab415dc0
commit 8b3980f508
17 changed files with 923 additions and 877 deletions
+4 -4
View File
@@ -751,20 +751,20 @@ weechat_plugin_init (struct t_weechat_plugin *plugin)
"replaced by current nick/channel"
"/server."),
"%- %h",
alias_command_cb, NULL);
&alias_command_cb, NULL);
unalias_command = weechat_hook_command ("unalias", N_("remove an alias"),
N_("alias_name"),
N_("alias_name: name of alias to "
"remove"),
"%(alias)",
unalias_command_cb, NULL);
&unalias_command_cb, NULL);
config_reload = weechat_hook_event ("config_reload",
alias_config_reload_event_cb, NULL);
&alias_config_reload_event_cb, NULL);
completion = weechat_hook_completion ("alias",
alias_completion_cb, NULL);
&alias_completion_cb, NULL);
return PLUGIN_RC_SUCCESS;
}