From 6a03eb69ebbe773f1d4139ff88d74ecdb2b0af4b Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 25 Apr 2014 16:51:06 -0400 Subject: Add "virtual mode" support This allows fully tracking extbans and other modes set by a different underlying mode, such as InspIRCd's namedmodes Add two configuration options to cs_ban to configure which mode is set and whether or not to kick banned users. Add default "mute" fantasy command to botserv.example.conf --- data/botserv.example.conf | 1 + data/chanserv.example.conf | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'data') diff --git a/data/botserv.example.conf b/data/botserv.example.conf index c341eceb3..6cb44afc3 100644 --- a/data/botserv.example.conf +++ b/data/botserv.example.conf @@ -386,6 +386,7 @@ 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 = "MUTE"; command = "chanserv/ban"; kick = no; mode = "QUIET"; } fantasy { name = "OP"; command = "chanserv/modes"; } fantasy { name = "OWNER"; command = "chanserv/modes"; } fantasy { name = "PROTECT"; command = "chanserv/modes"; } diff --git a/data/chanserv.example.conf b/data/chanserv.example.conf index dba4466eb..d4a2f841c 100644 --- a/data/chanserv.example.conf +++ b/data/chanserv.example.conf @@ -868,6 +868,12 @@ command { service = "ChanServ"; name = "AKICK"; command = "chanserv/akick"; grou * * Provides the command chanserv/ban. * + * The configuration option 'kick' may be set in a command block for this command to control + * whether or not users will be kicked from the channel once banned. The default is 'yes'. + * + * The configuration option 'mode' may be set to control which mode is set, such as BAN or QUIET. + * The default is BAN. + * * Used for banning users from channels. */ module { name = "cs_ban" } -- cgit