From f09a9b3ea537f17ee52337773a5eba321ff1ccd7 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Sat, 26 Apr 2014 13:00:51 +0200 Subject: Remove redundant IS_LOCAL() checks discovered by static asserts --- src/modules/m_operlog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_operlog.cpp') diff --git a/src/modules/m_operlog.cpp b/src/modules/m_operlog.cpp index e89dda7b5..d015d5ead 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()) && (IS_LOCAL(user)) && (user->HasPermission(command))) + if ((user->IsOper()) && (user->HasPermission(command))) { Command* thiscommand = ServerInstance->Parser->GetHandler(command); if ((thiscommand) && (thiscommand->flags_needed == 'o')) -- cgit v1.3.1-10-gc9f91