diff options
author | Adam <Adam@anope.org> | 2011-08-18 00:46:17 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-08-18 00:46:17 -0400 |
commit | 9c8a789aa04b42e5f1bdb4cfb28f3c57063f1216 (patch) | |
tree | 5987396fa74bd22a5e409e933bb710f1ea10a4d7 /modules | |
parent | 389341b86230b8945f890199b8bf74ac3825347d (diff) |
Fixed ns alist min level
Diffstat (limited to 'modules')
-rw-r--r-- | modules/core/ns_alist.cpp | 2 |
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 { |