summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/irc/core/modes.c2
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)