diff options
Diffstat (limited to 'src/irc/core/channels-query.c')
-rw-r--r-- | src/irc/core/channels-query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/channels-query.c b/src/irc/core/channels-query.c index 06cfdb3a..bc5ebf3a 100644 --- a/src/irc/core/channels-query.c +++ b/src/irc/core/channels-query.c @@ -132,7 +132,7 @@ static void sig_channel_destroyed(IRC_CHANNEL_REC *channel) { g_return_if_fail(channel != NULL); - if (IS_IRC_CHANNEL(channel) && channel->server != NULL && + if (IS_IRC_CHANNEL(channel) && !channel->server->disconnected && !channel->synced) query_remove_all(channel); } |