mirror of
https://github.com/irssi/irssi.git
synced 2025-06-30 22:18:06 -04: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
@ -218,6 +218,9 @@ void channel_send_autocommands(CHANNEL_REC *channel)
|
|||||||
for (bot = bots; *bot != NULL; bot++) {
|
for (bot = bots; *bot != NULL; bot++) {
|
||||||
const char *botnick = *bot;
|
const char *botnick = *bot;
|
||||||
|
|
||||||
|
if (*botnick == '\0')
|
||||||
|
continue;
|
||||||
|
|
||||||
nick = nicklist_find_mask(channel,
|
nick = nicklist_find_mask(channel,
|
||||||
channel->server->isnickflag(*botnick) ?
|
channel->server->isnickflag(*botnick) ?
|
||||||
botnick+1 : botnick);
|
botnick+1 : botnick);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user