mirror of
https://github.com/anope/anope.git
synced 2026-07-03 15:53:13 +02:00
Rewrote some of the opertype system, added os_login
This commit is contained in:
@@ -46,7 +46,7 @@ class AsynchCommandMutex : public CommandMutex
|
||||
return;
|
||||
}
|
||||
|
||||
if (!command->permission.empty() && !u->Account()->HasCommand(command->permission))
|
||||
if (!command->permission.empty() && !u->HasCommand(command->permission))
|
||||
{
|
||||
u->SendMessage(bi, _(ACCESS_DENIED));
|
||||
Log(LOG_COMMAND, "denied", bi) << "Access denied for user " << u->GetMask() << " with command " << command;
|
||||
|
||||
Reference in New Issue
Block a user