summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc.c')
-rw-r--r--src/plugins/irc/irc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/irc/irc.c b/src/plugins/irc/irc.c
index 31d4010c2..279bf582c 100644
--- a/src/plugins/irc/irc.c
+++ b/src/plugins/irc/irc.c
@@ -135,6 +135,8 @@ weechat_plugin_init (struct t_weechat_plugin *plugin)
return PLUGIN_RC_FAILED;
irc_create_directories ();
+
+ weechat_hook_event ("config_reload", irc_config_reload, NULL);
//irc_server_auto_connect (1, 0);