summaryrefslogtreecommitdiff
path: root/src/fe-common/irc
diff options
context:
space:
mode:
authorJari Matilainen <jari.matilainen@gmail.com>2016-06-21 22:05:21 +0200
committerJari Matilainen <jari.matilainen@gmail.com>2016-06-21 22:05:21 +0200
commita4223a3b2e5f5689c61633542f05e70c28226717 (patch)
tree112cb7eca17ca4de87eb8d70163e6e168e576969 /src/fe-common/irc
parent2bb913f0c128dbb37737b7c2d7af99ed70801993 (diff)
downloadirssi-a4223a3b2e5f5689c61633542f05e70c28226717.zip
use TRUE/FALSE in if statements for gboolean
Diffstat (limited to 'src/fe-common/irc')
-rw-r--r--src/fe-common/irc/fe-ircnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/irc/fe-ircnet.c b/src/fe-common/irc/fe-ircnet.c
index b2605379..b70a9ea7 100644
--- a/src/fe-common/irc/fe-ircnet.c
+++ b/src/fe-common/irc/fe-ircnet.c
@@ -103,7 +103,7 @@ static void cmd_network_add_modify(const char *data, gboolean add)
rec = ircnet_find(name);
if (rec == NULL) {
- if (!add) {
+ if (add == FALSE) {
cmd_params_free(free_arg);
printformat(NULL, NULL, MSGLEVEL_CLIENTNOTICE,
IRCTXT_NETWORK_NOT_FOUND, name);