diff options
| author | 2006-01-23 17:16:49 +0000 | |
|---|---|---|
| committer | 2006-01-23 17:16:49 +0000 | |
| commit | 4e7a8f306a545ee47bcfa81ad2ea54432fd31283 (patch) | |
| tree | 6d455b0e524264ff06eb5e620d6845d4dffa4c84 /src/command_parse.cpp | |
| parent | Optional IP-Hiding for servers (diff) | |
Warning fix.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2865 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 82f7df279..e6c0f46ce 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 > Config->MaxTargets) + if ((unsigned int)j > Config->MaxTargets) { WriteServ(u->fd,"407 %s %s :Too many targets in list, message not delivered.",u->nick,blog[j-1]); return 1; |
