mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-10 21:23:12 +02:00
- crule: evaluate currarg correctly
This commit is contained in:
+1
-1
@@ -631,7 +631,7 @@ int crule_parsearglist(crule_treeptr argrootp, int *next_tokp, char **ruleptr)
|
||||
#if !defined(CR_DEBUG) && !defined(CR_CHKCONF)
|
||||
(void)collapse(currarg);
|
||||
#endif
|
||||
if (!BadPtr(currarg))
|
||||
if (*currarg)
|
||||
{
|
||||
DupString(argelemp, currarg);
|
||||
argrootp->arg[argrootp->numargs++] =
|
||||
|
||||
Reference in New Issue
Block a user