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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user