diff options
Diffstat (limited to 'src/modules/m_operlog.cpp')
| -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 fe664689b..2d5bec647 100644 --- a/src/modules/m_operlog.cpp +++ b/src/modules/m_operlog.cpp @@ -57,7 +57,7 @@ class ModuleOperLog if ((user->IsOper()) && (user->HasCommandPermission(command))) { Command* thiscommand = ServerInstance->Parser.GetHandler(command); - if ((thiscommand) && (thiscommand->flags_needed == 'o')) + if ((thiscommand) && (thiscommand->access_needed == CmdAccess::OPERATOR)) { std::string msg = "[" + user->GetFullRealHost() + "] " + command + " " + stdalgo::string::join(parameters); if (tosnomask) |
