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