diff options
author | Adam <Adam@anope.org> | 2011-08-27 15:34:09 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-08-27 15:34:09 -0400 |
commit | 5c57f5aa0b515792d860e9706def3b0345f92fd2 (patch) | |
tree | 5f58cb0836e393ed4e4e978e174f6f2b84424bc9 /modules/commands/ns_logout.cpp | |
parent | a36e575500553382005417e998b8801c75f2a400 (diff) |
Fixed /ns logout on other users
Diffstat (limited to 'modules/commands/ns_logout.cpp')
-rw-r--r-- | modules/commands/ns_logout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ns_logout.cpp b/modules/commands/ns_logout.cpp index 3000c030d..923ea7867 100644 --- a/modules/commands/ns_logout.cpp +++ b/modules/commands/ns_logout.cpp @@ -35,7 +35,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 { |