summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-channel.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-11-18 16:00:12 +0100
committerSebastien Helleu <flashcode@flashtux.org>2011-11-18 16:00:12 +0100
commit7a0d3469333710e3dd6a27466dfb35533deb7a1e (patch)
treedd952be2a760e84a6d971d3a83abf86f589c8485 /src/plugins/irc/irc-channel.c
parent6f0b6295c529eaaa2dda4e9b821e152ce47e698d (diff)
downloadweechat-7a0d3469333710e3dd6a27466dfb35533deb7a1e.zip
irc: remove autorejoin on channels when disconnected from server (bug #32207)
Diffstat (limited to 'src/plugins/irc/irc-channel.c')
-rw-r--r--src/plugins/irc/irc-channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-channel.c b/src/plugins/irc/irc-channel.c
index 82d48b4c6..9348e7ee2 100644
--- a/src/plugins/irc/irc-channel.c
+++ b/src/plugins/irc/irc-channel.c
@@ -814,7 +814,7 @@ irc_channel_free (struct t_irc_server *server, struct t_irc_channel *channel)
if (channel->pv_remote_nick_color)
free (channel->pv_remote_nick_color);
if (channel->hook_autorejoin)
- weechat_unhook(channel->hook_autorejoin);
+ weechat_unhook (channel->hook_autorejoin);
if (channel->nicks_speaking[0])
weechat_list_free (channel->nicks_speaking[0]);
if (channel->nicks_speaking[1])