mirror of
https://github.com/anope/anope.git
synced 2026-07-03 21:23:13 +02:00
Make botserv fantasy override its own privilege
This commit is contained in:
+1
-1
@@ -163,7 +163,7 @@ class Fantasy : public Module
|
||||
source.permission = info.permission;
|
||||
|
||||
AccessGroup ag = c->ci->AccessFor(u);
|
||||
bool has_fantasia = ag.HasPriv("FANTASIA") || source.HasPriv("chanserv/administration");
|
||||
bool has_fantasia = ag.HasPriv("FANTASIA") || source.HasPriv("botserv/fantasy");
|
||||
|
||||
EventReturn MOD_RESULT;
|
||||
if (has_fantasia)
|
||||
|
||||
Reference in New Issue
Block a user