X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=ircd%2Fcrule.c;fp=ircd%2Fcrule.c;h=a91aecb41b76021a64c7b5be61e1d4859b05a899;hp=1a1fd2150e53a46cbf8224b771d703bb8d2d6a6e;hb=46f401ef80a4bede99ed5034d03836f6e7ca6936;hpb=d0a284c68368f5cd58309293e936f82e032f7ae8 diff --git a/ircd/crule.c b/ircd/crule.c index 1a1fd21..a91aecb 100644 --- a/ircd/crule.c +++ b/ircd/crule.c @@ -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;