From 5c57f5aa0b515792d860e9706def3b0345f92fd2 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 27 Aug 2011 15:34:09 -0400 Subject: [PATCH] Fixed /ns logout on other users --- modules/commands/ns_logout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {