summaryrefslogtreecommitdiff
path: root/modules/extra/m_helpchan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/m_helpchan.cpp')
-rw-r--r--modules/extra/m_helpchan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/m_helpchan.cpp b/modules/extra/m_helpchan.cpp
index 6efcea572..83477da94 100644
--- a/modules/extra/m_helpchan.cpp
+++ b/modules/extra/m_helpchan.cpp
@@ -28,7 +28,7 @@ class HelpChannel : public Module
{
User *u = finduser(param);
- if (u && c->ci->AccessFor(u).HasPriv(CA_OPDEOPME))
+ if (u && c->ci->AccessFor(u).HasPriv("OPDEOPME"))
u->SetMode(findbot(Config->OperServ), UMODE_HELPOP);
}