summaryrefslogtreecommitdiff
path: root/src/irc/proxy
diff options
context:
space:
mode:
authorLukas Mai <l.mai@web.de>2016-02-18 02:23:00 +0100
committerLukas Mai <l.mai@web.de>2016-02-18 02:23:00 +0100
commitc9ce0c521a559727493b42f422b5cc10ede2d9b2 (patch)
tree23fb5373d0f795488cf857b92dd0e68556d11363 /src/irc/proxy
parenteffb00b858db17b3abf27661682255bd8139a95a (diff)
downloadirssi-c9ce0c521a559727493b42f422b5cc10ede2d9b2.zip
make pointer check explicit
Diffstat (limited to 'src/irc/proxy')
-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);