diff options
author | Adam <Adam@anope.org> | 2014-08-03 19:10:15 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-08-03 19:10:15 -0400 |
commit | df6095fed2d86a1756aae06587fa6e9b46858408 (patch) | |
tree | b6938a88302585876abb8d2ec34da533374bf150 /modules/fantasy.cpp | |
parent | 8210e82a5ea02232e649a3f1c5f27214c655c5b6 (diff) |
Make botserv fantasy override its own privilege
Diffstat (limited to 'modules/fantasy.cpp')
-rw-r--r-- | modules/fantasy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/fantasy.cpp b/modules/fantasy.cpp index 0e24b10c5..58226699c 100644 --- a/modules/fantasy.cpp +++ b/modules/fantasy.cpp @@ -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) |