From 46d33ec753581d6856959fbf021e3f21c9a67fe5 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 10 Dec 2023 15:13:11 +0100 Subject: Fixed comparison between pointer and integer in com_inchannel() --- FICS/talkproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3