mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 20:00:23 +02:00
Don't break if /CHANNEL ADD -bots list has bots separated with more than
one space. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2109 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
baf8ac392c
commit
44565932e3
1 changed files with 3 additions and 0 deletions
|
|
@ -218,6 +218,9 @@ void channel_send_autocommands(CHANNEL_REC *channel)
|
|||
for (bot = bots; *bot != NULL; bot++) {
|
||||
const char *botnick = *bot;
|
||||
|
||||
if (*botnick == '\0')
|
||||
continue;
|
||||
|
||||
nick = nicklist_find_mask(channel,
|
||||
channel->server->isnickflag(*botnick) ?
|
||||
botnick+1 : botnick);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue