From 2cd6efcc64458c7b5c33529eb58fe00b7bc5e4ef Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Fri, 19 Apr 2019 09:30:45 +0100 Subject: Rename HasPermission to HasCommandPermission. --- src/modules/m_operlog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_operlog.cpp b/src/modules/m_operlog.cpp index b64e18870..ffce7ebba 100644 --- a/src/modules/m_operlog.cpp +++ b/src/modules/m_operlog.cpp @@ -47,7 +47,7 @@ class ModuleOperLog : public Module if (!validated) return MOD_RES_PASSTHRU; - if ((user->IsOper()) && (user->HasPermission(command))) + if ((user->IsOper()) && (user->HasCommandPermission(command))) { Command* thiscommand = ServerInstance->Parser.GetHandler(command); if ((thiscommand) && (thiscommand->flags_needed == 'o')) -- cgit v1.2.3