diff options
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 564ff1018..559b01285 100644 --- a/src/modules/m_operlog.cpp +++ b/src/modules/m_operlog.cpp @@ -55,7 +55,7 @@ class ModuleOperLog : public Module if (!validated) return 0; - if (*user->oper) + if ((*user->oper) && (IS_LOCAL(user)) && (user->HasPermission(command))) { std::string plist = ""; for (int j = 0; j < pcnt; j++) |