diff options
author | Timo Sirainen <cras@irssi.org> | 2000-06-18 01:18:12 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-06-18 01:18:12 +0000 |
commit | a5d31a195d1e3b682cd57d88a5db7ef0ffa5d492 (patch) | |
tree | e5c335b77da2d17293e87debeb17ab4c966e34c4 /src/irc/core/ircnet-setup.c | |
parent | ca4226cca692ee96109a46b3a1d381ac0d37cb6f (diff) | |
download | irssi-a5d31a195d1e3b682cd57d88a5db7ef0ffa5d492.zip |
Changed option handling in /commands. Irssi will now complain about
unknown options and missing option arguments.
Renamed /SERVER -add, -remove and -list to /SERVER ADD, REMOVE and LIST.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@365 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/ircnet-setup.c')
-rw-r--r-- | src/irc/core/ircnet-setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/core/ircnet-setup.c b/src/irc/core/ircnet-setup.c index 57cfab1a..b3946e6a 100644 --- a/src/irc/core/ircnet-setup.c +++ b/src/irc/core/ircnet-setup.c @@ -154,11 +154,11 @@ static void read_ircnets(void) static void sig_connected(IRC_SERVER_REC *server) { IRCNET_REC *ircnet; - + if (server->connrec->ircnet == NULL) return; ircnet = ircnet_find(server->connrec->ircnet); - if (ircnet->autosendcmd) + if (ircnet != NULL && ircnet->autosendcmd) eval_special_string(ircnet->autosendcmd, "", server, NULL); } |