mirror of
https://github.com/anope/anope.git
synced 2026-06-29 22:06:37 +02:00
Rewrote some of the opertype system, added os_login
This commit is contained in:
@@ -28,7 +28,7 @@ class CommandCSGetKey : public Command
|
||||
User *u = source.u;
|
||||
ChannelInfo *ci = source.ci;
|
||||
|
||||
if (!check_access(u, ci, CA_GETKEY) && !u->Account()->HasCommand("chanserv/getkey"))
|
||||
if (!check_access(u, ci, CA_GETKEY) && !u->HasCommand("chanserv/getkey"))
|
||||
{
|
||||
source.Reply(_(ACCESS_DENIED));
|
||||
return MOD_CONT;
|
||||
|
||||
Reference in New Issue
Block a user