summaryrefslogtreecommitdiff
path: root/data/botserv.example.conf
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-01-08 20:25:01 -0500
committerAdam <Adam@anope.org>2013-01-08 20:25:01 -0500
commit9931ec299446c3d9e149f91a953748350c38eba6 (patch)
treefb3969d5aeb2ce23a7d2cde9fd9e47841b125c4b /data/botserv.example.conf
parent5f3dfc296041540960f372b010eea623bdd7d335 (diff)
Use m_rewrite to rewrite op, deop, halfop, ... etc
Diffstat (limited to 'data/botserv.example.conf')
-rw-r--r--data/botserv.example.conf26
1 files changed, 21 insertions, 5 deletions
diff --git a/data/botserv.example.conf b/data/botserv.example.conf
index 2980e0057..47482c93f 100644
--- a/data/botserv.example.conf
+++ b/data/botserv.example.conf
@@ -272,7 +272,6 @@ command { service = "BotServ"; name = "SET PRIVATE"; command = "botserv/set/priv
fantasy { name = "ACCESS"; command = "chanserv/access"; }
fantasy { name = "AKICK"; command = "chanserv/akick"; }
fantasy { name = "AOP"; command = "chanserv/aop"; }
-fantasy { name = "APPENDTOPIC"; command = "chanserv/appendtopic"; }
fantasy { name = "BAN"; command = "chanserv/ban"; }
fantasy { name = "CLONE"; command = "chanserv/clone"; }
fantasy { name = "DEHALFOP"; command = "chanserv/dehalfop"; }
@@ -285,22 +284,22 @@ fantasy { name = "ENFORCE"; command = "chanserv/enforce"; }
fantasy { name = "ENTRYMSG"; command = "chanserv/entrymsg"; }
fantasy { name = "FLAGS"; command = "chanserv/flags"; }
fantasy { name = "HALFOP"; command = "chanserv/halfop"; }
-fantasy { name = "HELP"; command = "generic/help"; }
+fantasy { name = "HELP"; command = "generic/help"; prepend_channel = false }
fantasy { name = "HOP"; command = "chanserv/hop"; }
-fantasy { name = "INFO"; command = "chanserv/info"; }
+fantasy { name = "INFO"; command = "chanserv/info"; prepend_channel = false }
fantasy { name = "INVITE"; command = "chanserv/invite"; }
fantasy { name = "K"; command = "chanserv/kick"; }
fantasy { name = "KB"; command = "chanserv/ban"; }
fantasy { name = "KICK"; command = "chanserv/kick"; }
fantasy { name = "LEVELS"; command = "chanserv/levels"; }
-fantasy { name = "LIST"; command = "chanserv/list"; }
+fantasy { name = "LIST"; command = "chanserv/list"; prepend_channel = false }
fantasy { name = "LOG"; command = "chanserv/log"; }
fantasy { name = "MODE"; command = "chanserv/mode"; }
fantasy { name = "OP"; command = "chanserv/op"; }
fantasy { name = "OWNER"; command = "chanserv/owner"; }
fantasy { name = "PROTECT"; command = "chanserv/protect"; }
fantasy { name = "QOP"; command = "chanserv/qop"; }
-fantasy { name = "SEEN"; command = "chanserv/seen"; }
+fantasy { name = "SEEN"; command = "chanserv/seen"; prepend_channel = false }
fantasy { name = "SOP"; command = "chanserv/sop"; }
fantasy { name = "STATUS"; command = "chanserv/status"; }
fantasy { name = "SUSPEND"; command = "chanserv/suspend"; permission = "chanserv/suspend"; }
@@ -312,3 +311,20 @@ fantasy { name = "UP"; command = "chanserv/up"; }
fantasy { name = "VOICE"; command = "chanserv/voice"; }
fantasy { name = "VOP"; command = "chanserv/vop"; }
+/* Use m_rewrite to rewrite the op, deop, etc. fantasy commands (see chanserv.conf). */
+
+fantasy { name = "OWNER"; command = "rewrite"; }
+fantasy { name = "DEOWNER"; command = "rewrite"; }
+
+fantasy { name = "PROTECT"; command = "rewrite"; }
+fantasy { name = "DEPROTECT"; command = "rewrite"; }
+
+fantasy { name = "OP"; command = "rewrite"; }
+fantasy { name = "DEOP"; command = "rewrite"; }
+
+fantasy { name = "HALFOP"; command = "rewrite"; }
+fantasy { name = "DEHALFOP"; command = "rewrite"; }
+
+fantasy { name = "VOICE"; command = "rewrite"; }
+fantasy { name = "DEVOICE"; command = "rewrite"; }
+