aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_operlog.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2014-04-26 13:00:51 +0200
committerGravatar Attila Molnar2014-04-26 13:00:51 +0200
commitf09a9b3ea537f17ee52337773a5eba321ff1ccd7 (patch)
tree6648632d8598715ffa03317afa77b759c491036f /src/modules/m_operlog.cpp
parentDocument parameters and return value for the OnNamesListItem() hook (diff)
Remove redundant IS_LOCAL() checks discovered by static asserts
Diffstat (limited to 'src/modules/m_operlog.cpp')
-rw-r--r--src/modules/m_operlog.cpp2
1 files changed, 1 insertions, 1 deletions
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'))