mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
notify-ison: Don't send ison before the connection is done
This commit is contained in:
parent
653c7fb05a
commit
15736ba5ab
@ -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++;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user