summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-08-27 15:35:09 -0400
committerAdam <Adam@anope.org>2011-08-27 15:35:09 -0400
commit99e4eae4e9dbbf61ca59585c996e6264e59016a8 (patch)
treed2a1380eb322df45f27634a72d9f0817c088ca77 /modules
parent232af7fa7a0a3828019cab3e2a17759c804c223a (diff)
Fixed /ns logout on other users
Diffstat (limited to 'modules')
-rw-r--r--modules/core/ns_logout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/ns_logout.cpp b/modules/core/ns_logout.cpp
index c074fecf8..2188b0d2b 100644
--- a/modules/core/ns_logout.cpp
+++ b/modules/core/ns_logout.cpp
@@ -33,7 +33,7 @@ class CommandNSLogout : public Command
this->OnSyntaxError(source, "");
else if (!(u2 = (!nick.empty() ? finduser(nick) : u)))
source.Reply(_(NICK_X_NOT_IN_USE), nick.c_str());
- else if (!nick.empty() && !u2->IsServicesOper())
+ else if (!nick.empty() && u2->IsServicesOper())
source.Reply(_("You can't logout %s because they are a Services Operator."), nick.c_str());
else
{