diff options
-rw-r--r-- | src/modules/u_listmode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/u_listmode.h b/src/modules/u_listmode.h index 7e018e558..62093fdd4 100644 --- a/src/modules/u_listmode.h +++ b/src/modules/u_listmode.h @@ -257,7 +257,7 @@ class ListModeBase : public ModeHandler { // We have a pattern matching the channel... maxsize = el->size(); - if (IS_LOCAL(source) || (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. |