mirror of
https://github.com/anope/anope.git
synced 2026-07-04 11:23:12 +02:00
Bug #1237 - only set umode +h on a user joining help chan if they have op access
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user