summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlethality <lethality@anope.org>2011-01-28 00:09:34 +0000
committerlethality <lethality@anope.org>2011-01-28 00:44:30 +0000
commitd8b92f1c70f785e5065a4be7454ebb115f3d6281 (patch)
treebca63f14393f8c4d76ca044621edc946388d70f3
parentb354d4d1ab00a199ba3c56ee5a01cd4981b454c7 (diff)
Bug #1237 - only set umode +h on a user joining help chan if they have op access
-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 6d95cceca..4f8d5eea5 100644
--- a/modules/extra/m_helpchan.cpp
+++ b/modules/extra/m_helpchan.cpp
@@ -29,7 +29,7 @@ class HelpChannel : public Module
{
User *u = finduser(param);
- if (u)
+ if (u && check_access(u, c->ci, CA_OPDEOPME))
u->SetMode(OperServ, UMODE_HELPOP);
}