summaryrefslogtreecommitdiff
path: root/data/botserv.example.conf
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-07-07 23:13:29 -0400
committerAdam <Adam@anope.org>2013-07-07 23:13:29 -0400
commit0ff48e1538d8cc694e045775531ee075a319cb8a (patch)
tree83b9ea2ecc607f8a8b6e8485f676d0f14f7bc61b /data/botserv.example.conf
parent53038d83bf4afe0cc21e465f6a8525b88c1d2886 (diff)
Move op/deop/etc back to an actual command, its too hard to use cs_log with it as rewrites. Allow cs_log to work with either command names or service names.
Diffstat (limited to 'data/botserv.example.conf')
-rw-r--r--data/botserv.example.conf26
1 files changed, 10 insertions, 16 deletions
diff --git a/data/botserv.example.conf b/data/botserv.example.conf
index 299289416..e93810c81 100644
--- a/data/botserv.example.conf
+++ b/data/botserv.example.conf
@@ -352,10 +352,16 @@ fantasy { name = "AKICK"; command = "chanserv/akick"; }
fantasy { name = "AOP"; command = "chanserv/xop"; }
fantasy { name = "BAN"; command = "chanserv/ban"; }
fantasy { name = "CLONE"; command = "chanserv/clone"; }
+fantasy { name = "DEHALFOP"; command = "chanserv/modes"; }
+fantasy { name = "DEOP"; command = "chanserv/modes"; }
+fantasy { name = "DEOWNER"; command = "chanserv/modes"; }
+fantasy { name = "DEPROTECT"; command = "chanserv/modes"; }
+fantasy { name = "DEVOICE"; command = "chanserv/modes"; }
fantasy { name = "DOWN"; command = "chanserv/down"; }
fantasy { name = "ENFORCE"; command = "chanserv/enforce"; }
fantasy { name = "ENTRYMSG"; command = "chanserv/entrymsg"; }
fantasy { name = "FLAGS"; command = "chanserv/flags"; }
+fantasy { name = "HALFOP"; command = "chanserv/modes"; }
fantasy { name = "HELP"; command = "generic/help"; prepend_channel = false; }
fantasy { name = "HOP"; command = "chanserv/xop"; }
fantasy { name = "INFO"; command = "chanserv/info"; prepend_channel = false; }
@@ -367,6 +373,9 @@ fantasy { name = "LEVELS"; command = "chanserv/levels"; }
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/modes"; }
+fantasy { name = "OWNER"; command = "chanserv/modes"; }
+fantasy { name = "PROTECT"; command = "chanserv/modes"; }
fantasy { name = "QOP"; command = "chanserv/xop"; }
fantasy { name = "SEEN"; command = "chanserv/seen"; prepend_channel = false; }
fantasy { name = "SOP"; command = "chanserv/xop"; }
@@ -377,20 +386,5 @@ fantasy { name = "TOPIC"; command = "chanserv/topic"; }
fantasy { name = "UNBAN"; command = "chanserv/unban"; }
fantasy { name = "UNSUSPEND"; command = "chanserv/unsuspend"; permission = "chanserv/suspend"; }
fantasy { name = "UP"; command = "chanserv/up"; }
+fantasy { name = "VOICE"; command = "chanserv/modes"; }
fantasy { name = "VOP"; command = "chanserv/xop"; }
-
-/* 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"; }