From 9910aa3cc63cce81b3967a16a99d3f92d9e95f68 Mon Sep 17 00:00:00 2001 From: lethality Date: Fri, 28 Jan 2011 00:09:34 +0000 Subject: 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(-) (limited to 'modules') diff --git a/modules/extra/m_helpchan.cpp b/modules/extra/m_helpchan.cpp index 56dddbb95..028e5e332 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); } -- cgit