diff options
author | Peter Powell <petpow@saberuk.com> | 2019-04-19 09:30:45 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-04-19 10:05:06 +0100 |
commit | 2cd6efcc64458c7b5c33529eb58fe00b7bc5e4ef (patch) | |
tree | 2eb63c905f6b66f1318db342f4952e0244ea9a0d /src/modules | |
parent | 21f0718c4ae18f565895b5cc05c4af3942d0f8e5 (diff) |
Rename HasPermission to HasCommandPermission.
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_operlog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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')) |