diff options
author | Timo Sirainen <cras@irssi.org> | 2000-06-30 19:44:50 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-06-30 19:44:50 +0000 |
commit | d0dcffab7b7241e31c856ba10549cd1bd008cb10 (patch) | |
tree | 75d604eadce81265e0487265f0c7dbf03212a2c7 /src/irc | |
parent | 6b7d03e2cf1b4a9f63c589c13219ff11ad6c84f2 (diff) | |
download | irssi-d0dcffab7b7241e31c856ba10549cd1bd008cb10.zip |
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
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/core/modes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/modes.c b/src/irc/core/modes.c index fcca2401..45bd5421 100644 --- a/src/irc/core/modes.c +++ b/src/irc/core/modes.c @@ -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) |