From 38c970bc5388fa1357b493f2dd0bfaaa9e8ac539 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 16 Jun 2006 12:12:46 +0000 Subject: 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 --- src/modules/m_operlog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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++) -- cgit v1.2.3