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:
parent
7832572cdc
commit
85b669b6f4
@ -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.. */
|
||||
|
Loading…
Reference in New Issue
Block a user