1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 02:46:37 +02:00

Fixed /ns logout on other users

This commit is contained in:
Adam
2011-08-27 15:35:09 -04:00
parent 232af7fa7a
commit 99e4eae4e9
+1 -1
View File
@@ -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
{