mirror of
https://github.com/anope/anope.git
synced 2026-06-30 03:16:37 +02:00
Rewrote some of the opertype system, added os_login
This commit is contained in:
@@ -314,7 +314,7 @@ class CommandCSMode : public Command
|
||||
|
||||
if (!ci || !ci->c)
|
||||
source.Reply(_(CHAN_X_NOT_IN_USE), ci->name.c_str());
|
||||
else if (!check_access(u, ci, CA_MODE) && !u->Account()->HasCommand("chanserv/mode"))
|
||||
else if (!check_access(u, ci, CA_MODE) && !u->HasCommand("chanserv/mode"))
|
||||
source.Reply(_(ACCESS_DENIED));
|
||||
else if (subcommand.equals_ci("LOCK"))
|
||||
this->DoLock(source, params);
|
||||
|
||||
Reference in New Issue
Block a user