diff options
author | Timo Sirainen <cras@irssi.org> | 2000-07-27 19:41:48 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-07-27 19:41:48 +0000 |
commit | 85b669b6f4efd455722d624640cdaa84d19b23ba (patch) | |
tree | 6000549df43f2feea1850c51382c502d1ef9b4f1 /src/irc | |
parent | 7832572cdc3fa629bbfd7caafef5b1edef0351de (diff) | |
download | irssi-85b669b6f4efd455722d624640cdaa84d19b23ba.zip |
/CHANNEL ADD -botcmd without -bots crashed irssi.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@546 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/core/channels-setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/irc/core/channels-setup.c b/src/irc/core/channels-setup.c index 3d40ad0b..4f3cf17b 100644 --- a/src/irc/core/channels-setup.c +++ b/src/irc/core/channels-setup.c @@ -158,6 +158,7 @@ static void channel_wholist(CHANNEL_REC *channel) if (rec->botmasks == NULL || !*rec->botmasks) { /* just send the command. */ eval_special_string(rec->autosendcmd, "", channel->server, channel); + return; } /* find first available bot.. */ |