Quash various warnings from higher levels of compiler warnings.
[ircu2.10.12-pk.git] / ircd / crule.c
index 1a1fd2150e53a46cbf8224b771d703bb8d2d6a6e..a91aecb41b76021a64c7b5be61e1d4859b05a899 100644 (file)
@@ -737,7 +737,7 @@ static int crule_parsearglist(CRuleNodePtr argrootp, int *next_tokp, const char*
 #if !defined(CR_DEBUG) && !defined(CR_CHKCONF)
         collapse(currarg);
 #endif
-        if (!BadPtr(currarg))
+        if (currarg[0] != '\0')
         {
           DupString(argelemp, currarg);
           argrootp->arg[argrootp->numargs++] = (void *)argelemp;