From 1e37cb443d27c0c7caad106fb0e8e6657059fd34 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 18 Jun 2016 00:52:54 -0500 Subject: [PATCH] conf_parser: warning fixes --- ircd/ircd_parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircd/ircd_parser.y b/ircd/ircd_parser.y index d1dee1b2f..86ce21eb8 100644 --- a/ircd/ircd_parser.y +++ b/ircd/ircd_parser.y @@ -291,7 +291,7 @@ loadmodule: char *m_bn; m_bn = rb_basename((char *) $2); - if (findmodule_byname(m_bn) == -1) + if (findmodule_byname(m_bn) == NULL) { load_one_module($2, MAPI_ORIGIN_EXTENSION, 0); }