From 15736ba5ab63d62bfbf8c7907835e5530ba58311 Mon Sep 17 00:00:00 2001 From: dequis Date: Sat, 11 Feb 2017 00:07:03 -0300 Subject: [PATCH] notify-ison: Don't send ison before the connection is done --- src/irc/notifylist/notify-ison.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/irc/notifylist/notify-ison.c b/src/irc/notifylist/notify-ison.c index f9ca7b37..8a8865cc 100644 --- a/src/irc/notifylist/notify-ison.c +++ b/src/irc/notifylist/notify-ison.c @@ -80,6 +80,10 @@ static void ison_send(IRC_SERVER_REC *server, GString *cmd) { MODULE_SERVER_REC *mserver; + if (!server->connected) { + return; + } + mserver = MODULE_DATA(server); mserver->ison_count++;