diff options
Diffstat (limited to 'src/command_parse.cpp')
-rw-r--r-- | src/command_parse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp index eaf596a98..82f7df279 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -168,7 +168,7 @@ int CommandParser::LoopCall(command_t* fn, char **parameters, int pcnt, userrec plist[i] = '\0'; strlcpy(blog[j++],param,MAXBUF); param = plist+i+1; - if (j>20) + if (j > Config->MaxTargets) { WriteServ(u->fd,"407 %s %s :Too many targets in list, message not delivered.",u->nick,blog[j-1]); return 1; |