summaryrefslogtreecommitdiff
path: root/src/irc/notifylist/notify-ison.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/notifylist/notify-ison.c')
-rw-r--r--src/irc/notifylist/notify-ison.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/irc/notifylist/notify-ison.c b/src/irc/notifylist/notify-ison.c
index c3b459b2..39ccff25 100644
--- a/src/irc/notifylist/notify-ison.c
+++ b/src/irc/notifylist/notify-ison.c
@@ -118,6 +118,9 @@ static void notifylist_timeout_server(IRC_SERVER_REC *server)
g_return_if_fail(server != NULL);
+ if (!IS_IRC_SERVER(server))
+ return;
+
if (!is_ison_queue_empty(server)) {
/* still not received all replies to previous /ISON commands.. */
return;