summaryrefslogtreecommitdiff
path: root/src/modules/m_alias.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_alias.cpp')
-rw-r--r--src/modules/m_alias.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp
index 3893ad5bf..a901ab165 100644
--- a/src/modules/m_alias.cpp
+++ b/src/modules/m_alias.cpp
@@ -168,7 +168,7 @@ class ModuleAlias : public Module
continue;
}
- if ((Aliases[i].operonly) && (!*user->oper))
+ if ((Aliases[i].operonly) && (!IS_OPER(user)))
return 0;
if (Aliases[i].requires != "")