diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-06-16 12:12:46 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-06-16 12:12:46 +0000 |
commit | 38c970bc5388fa1357b493f2dd0bfaaa9e8ac539 (patch) | |
tree | b9967a0e880286ce6957c7b55ee2630fa92e2c43 | |
parent | 1a586eb091095e5d45719f5cd7de3949a94eeea1 (diff) |
Now only logs commands from local opers, that are oper commands they have permission to execute
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4015 e03df62e-2008-0410-955e-edbf42e46eb7
-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++) |