diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-22 23:54:04 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-22 23:54:04 +0000 |
commit | 8486ec92d22dcee8e2d02f0d76ddb8ade08aa9a7 (patch) | |
tree | 175760ec4e7ad8dd61a4866cec1fa2d6204b0729 /src/command_parse.cpp | |
parent | 8bf2b150d625788f8dcb0ce0897537b832272760 (diff) |
Allowed for configuration of maxtargets in <options:maxtargets>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2848 e03df62e-2008-0410-955e-edbf42e46eb7
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; |