summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-08-18 00:46:17 -0400
committerAdam <Adam@anope.org>2011-08-18 00:46:17 -0400
commit9c8a789aa04b42e5f1bdb4cfb28f3c57063f1216 (patch)
tree5987396fa74bd22a5e409e933bb710f1ea10a4d7 /modules
parent389341b86230b8945f890199b8bf74ac3825347d (diff)
Fixed ns alist min level
Diffstat (limited to 'modules')
-rw-r--r--modules/core/ns_alist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/ns_alist.cpp b/modules/core/ns_alist.cpp
index f0fd3f7aa..2e1321fe6 100644
--- a/modules/core/ns_alist.cpp
+++ b/modules/core/ns_alist.cpp
@@ -87,7 +87,7 @@ class CommandNSAList : public Command
source.Reply(_(NICK_X_NOT_REGISTERED), nick.c_str());
else if (na->HasFlag(NS_FORBIDDEN))
source.Reply(_(NICK_X_FORBIDDEN), na->nick.c_str());
- else if (min_level <= ACCESS_INVALID || min_level > ACCESS_FOUNDER)
+ else if (min_level < ACCESS_INVALID || min_level > ACCESS_FOUNDER)
source.Reply(_(CHAN_ACCESS_LEVEL_RANGE), ACCESS_INVALID + 1, ACCESS_FOUNDER - 1);
else
{