diff options
Diffstat (limited to 'src')
-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]) |