]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/u_listmode.h
More numerics.h conversion
[user/henk/code/inspircd.git] / include / u_listmode.h
index 852d5ac2b7ac494d3ac8d49bc7c7f2833d1ba9dd..cad52fc12c4c578a6deda9806afe91428a158dcd 100644 (file)
@@ -288,7 +288,7 @@ class ListModeBase : public ModeHandler
                                {
                                        // We have a pattern matching the channel...
                                        maxsize = el->size();
-                                       if (maxsize < it->limit)
+                                       if (IS_LOCAL(source) || (maxsize < it->limit))
                                        {
                                                /* Ok, it *could* be allowed, now give someone subclassing us
                                                 * a chance to validate the parameter.