1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

Remove connection timer when closing connection with IRC server

This commit is contained in:
Sebastien Helleu
2010-02-20 09:28:10 +01:00
parent 555f1827e3
commit f4849bc625
+7 -1
View File
@@ -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);