diff options
-rw-r--r-- | src/plugins/irc/irc-server.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c index db86dd6e5..6fa19ab9a 100644 --- a/src/plugins/irc/irc-server.c +++ b/src/plugins/irc/irc-server.c @@ -1902,7 +1902,13 @@ void irc_server_close_connection (struct t_irc_server *server) { int i; - + + if (server->hook_timer_connection) + { + weechat_unhook (server->hook_timer_connection); + server->hook_timer_connection = NULL; + } + if (server->hook_timer_sasl) { weechat_unhook (server->hook_timer_sasl); |