1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-01 04:14:16 -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) {
/* just send the command. */
eval_special_string(rec->autosendcmd, "", channel->server, channel);
return;
}
/* find first available bot.. */