1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

/CHANNEL ADD -botcmd without -bots crashed irssi.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@546 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-07-27 19:41:48 +00:00 committed by cras
parent 7832572cdc
commit 85b669b6f4

View File

@ -158,6 +158,7 @@ static void channel_wholist(CHANNEL_REC *channel)
if (rec->botmasks == NULL || !*rec->botmasks) { if (rec->botmasks == NULL || !*rec->botmasks) {
/* just send the command. */ /* just send the command. */
eval_special_string(rec->autosendcmd, "", channel->server, channel); eval_special_string(rec->autosendcmd, "", channel->server, channel);
return;
} }
/* find first available bot.. */ /* find first available bot.. */