summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/example.conf1
-rw-r--r--modules/fantasy.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/data/example.conf b/data/example.conf
index 3f5e672be..5e0904573 100644
--- a/data/example.conf
+++ b/data/example.conf
@@ -747,6 +747,7 @@ log
*
* Available privileges:
* botserv/administration - Can view and assign private BotServ bots
+ * botserv/fantasy - Can use fantasy commands without the FANTASIA privilege
* chanserv/administration - Can modify the settings of any channel (including changing of the owner!)
* chanserv/access/modify - Can modify channel access and akick lists, and use /chanserv enforce
* chanserv/auspex - Can see any information with /chanserv info
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)