diff options
| author | 2004-04-08 01:00:25 +0000 | |
|---|---|---|
| committer | 2004-04-08 01:00:25 +0000 | |
| commit | 98ea4960df5b0fc4956143348ec1bbfb5380b363 (patch) | |
| tree | 03be911bfec45e67bac72cd669736956b4f5cf4d /src/inspircd.cpp | |
| parent | Sanity checks in SAJOIN and SAPART (diff) | |
| download | inspircd++-98ea4960df5b0fc4956143348ec1bbfb5380b363.tar.gz inspircd++-98ea4960df5b0fc4956143348ec1bbfb5380b363.tar.bz2 inspircd++-98ea4960df5b0fc4956143348ec1bbfb5380b363.zip | |
Fix to loop_call and comma seperated lists - another phidjit one
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@442 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index f7541f53f..698644630 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -3017,6 +3017,13 @@ int loop_call(handlerfunc fn, char **parameters, int pcnt, userrec *u, int start } } + if (total > 10) + { + // limit the total items in a comma seperated list + // a phidjit bug... go figure. + total = 10; + } + for (j = 0; j < total; j++) { if (blog[j]) |
