summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/irc/proxy/listen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/proxy/listen.c b/src/irc/proxy/listen.c
index 2322d47a..cd946baa 100644
--- a/src/irc/proxy/listen.c
+++ b/src/irc/proxy/listen.c
@@ -118,7 +118,7 @@ static void handle_client_connect_cmd(CLIENT_REC *client,
char *tag;
const char *tag_end;
- if ((tag_end = strchr(args, ':'))) {
+ if ((tag_end = strchr(args, ':')) != NULL) {
args_pass = tag_end + 1;
} else {
tag_end = args + strlen(args);