mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
When doing "/OP nick1 nick2" (two spaces), irssi tried to op "" nick too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@395 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
6b7d03e2cf
commit
d0dcffab7b
@ -297,7 +297,7 @@ void channel_set_singlemode(IRC_SERVER_REC *server, const char *channel, const c
|
||||
|
||||
nicklist = g_strsplit(nicks, " ", -1);
|
||||
for (nick = nicklist; *nick != NULL; nick++) {
|
||||
if (*nick == '\0')
|
||||
if (**nick == '\0')
|
||||
continue;
|
||||
|
||||
if (num == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user