]> jfr.im git - solanum.git/commitdiff
conf_parser: warning fixes
authorWilliam Pitcock <redacted>
Sat, 18 Jun 2016 05:52:54 +0000 (00:52 -0500)
committerWilliam Pitcock <redacted>
Sat, 18 Jun 2016 05:52:54 +0000 (00:52 -0500)
ircd/ircd_parser.y

index d1dee1b2f8f671548779611e026d1754ce1ee4c4..86ce21eb82e3ffd987b446e802a6f675a4a279be 100644 (file)
@@ -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);
                }