mirror of
https://github.com/anope/anope.git
synced 2026-07-04 13:13:14 +02:00
Pretty large coding style cleanup, in source doc
cleanup, and allow protocol mods to depend on each other
This commit is contained in:
@@ -26,10 +26,10 @@ class HelpChannel : public Module
|
||||
{
|
||||
if (Name == CMODE_OP && c && c->ci && c->name.equals_ci(this->HelpChan))
|
||||
{
|
||||
User *u = finduser(param);
|
||||
User *u = User::Find(param);
|
||||
|
||||
if (u && c->ci->AccessFor(u).HasPriv("OPDEOPME"))
|
||||
u->SetMode(findbot(Config->OperServ), UMODE_HELPOP);
|
||||
u->SetMode(OperServ, UMODE_HELPOP);
|
||||
}
|
||||
|
||||
return EVENT_CONTINUE;
|
||||
|
||||
Reference in New Issue
Block a user