notify-ison: Don't send ison before the connection is done

This commit is contained in:
dequis 2017-02-11 00:07:03 -03:00
commit 15736ba5ab

View file

@ -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++;