aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-10 15:13:11 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-10 15:13:11 +0100
commit46d33ec753581d6856959fbf021e3f21c9a67fe5 (patch)
tree94db2c96c192497d872523b0e947cc002f3ea3de
parentab79b6a6aaed8a5c1d3cf85cb5f02920a580b6fa (diff)
Fixed comparison between pointer and integer in com_inchannel()
-rw-r--r--FICS/talkproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/talkproc.c b/FICS/talkproc.c
index 45d262d..beb280a 100644
--- a/FICS/talkproc.c
+++ b/FICS/talkproc.c
@@ -593,7 +593,7 @@ PUBLIC int com_inchannel(int p, param_list param)
char tmp[18];
- if (param[0].type == NULL) {
+ if (param[0].type == TYPE_NULL) {
pprintf (p,"inchannel [no params] has been removed\n");
pprintf (p,"Please use inchannel [name] or inchannel [number]\n");
return COM_OK;