1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 08:33:14 +02:00

Fixed /ns logout on other users

This commit is contained in:
Adam
2011-08-27 15:34:09 -04:00
parent a36e575500
commit 5c57f5aa0b
+1 -1
View File
@@ -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
{