mirror of
https://github.com/anope/anope.git
synced 2026-07-10 23:23:13 +02:00
Allow modules to add their own channel levels
This commit is contained in:
@@ -34,7 +34,7 @@ class CommandCSClearUsers : public Command
|
||||
source.Reply(CHAN_X_NOT_IN_USE, chan.c_str());
|
||||
else if (!c->ci)
|
||||
source.Reply(CHAN_X_NOT_REGISTERED, c->name.c_str());
|
||||
else if (!c->ci->AccessFor(u).HasPriv(CA_FOUNDER))
|
||||
else if (!c->ci->AccessFor(u).HasPriv("FOUNDER"))
|
||||
{
|
||||
source.Reply(ACCESS_DENIED);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user