From d8b92f1c70f785e5065a4be7454ebb115f3d6281 Mon Sep 17 00:00:00 2001 From: lethality Date: Fri, 28 Jan 2011 00:09:34 +0000 Subject: [PATCH] Bug #1237 - only set umode +h on a user joining help chan if they have op access --- modules/extra/m_helpchan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }