1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

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
parent 653c7fb05a
commit 15736ba5ab

View File

@ -80,6 +80,10 @@ static void ison_send(IRC_SERVER_REC *server, GString *cmd)
{ {
MODULE_SERVER_REC *mserver; MODULE_SERVER_REC *mserver;
if (!server->connected) {
return;
}
mserver = MODULE_DATA(server); mserver = MODULE_DATA(server);
mserver->ison_count++; mserver->ison_count++;