summaryrefslogtreecommitdiff
path: root/src/modules/m_override.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_override.cpp')
-rw-r--r--src/modules/m_override.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp
index b6cafbc77..8dfc5dd6f 100644
--- a/src/modules/m_override.cpp
+++ b/src/modules/m_override.cpp
@@ -174,7 +174,7 @@ class ModuleOverride : public Module
virtual int OnUserPreJoin(userrec* user, chanrec* chan, const char* cname)
{
- if (strchr(user->modes,'o'))
+ if (*user->oper)
{
if (chan)
{