diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-10 15:13:11 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-10 15:13:11 +0100 |
commit | 46d33ec753581d6856959fbf021e3f21c9a67fe5 (patch) | |
tree | 94db2c96c192497d872523b0e947cc002f3ea3de | |
parent | ab79b6a6aaed8a5c1d3cf85cb5f02920a580b6fa (diff) |
Fixed comparison between pointer and integer in com_inchannel()
-rw-r--r-- | FICS/talkproc.c | 2 |
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; |