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;