summaryrefslogtreecommitdiff
path: root/conf/channels.conf
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-11-13 17:06:49 +0100
committerGitHub <noreply@github.com>2018-11-13 17:06:49 +0100
commitd564cdaabdb9f1929e58cd68c1208f89100acf90 (patch)
treebf48c34155abe1b28962078c0609a99a04e741c8 /conf/channels.conf
parent78db115b41d966daf26160abe224701f743f6df0 (diff)
parent86b135b3e0a76680af677cca491b471d6c0d6429 (diff)
downloadhercules-d564cdaabdb9f1929e58cd68c1208f89100acf90.tar.gz
hercules-d564cdaabdb9f1929e58cd68c1208f89100acf90.tar.bz2
hercules-d564cdaabdb9f1929e58cd68c1208f89100acf90.tar.xz
hercules-d564cdaabdb9f1929e58cd68c1208f89100acf90.zip
Merge pull request #2287 from EyesOfAHawk/hcs_opt_msg_delay
Add config for '@channel setopt MessageDelay <delay>'
Diffstat (limited to 'conf/channels.conf')
-rw-r--r--conf/channels.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/channels.conf b/conf/channels.conf
index 9c2b567f4..c8f14aa27 100644
--- a/conf/channels.conf
+++ b/conf/channels.conf
@@ -64,5 +64,11 @@ chsys: (
irc_flood_protection_enabled: true /* Whether to enable anti-flood protection for outgoing messages */
irc_flood_protection_rate: 1000 /* The delay between messages during anti-flood protection (milliseconds) */
irc_flood_protection_burst: 3 /* The maximum number of messages that are sent at once burst size before triggering the anti-flood protection */
+
+ // @channel setopt MessageDelay <delay>
+ // Sets the maximum amount of message delay (in seconds) allowed for a channel.
+ // Default: 10
+ // Max: 255
+ channel_opt_msg_delay: 10
}
)