summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorEyesOfAHawk <blackoutro2006@gmail.com>2018-10-16 19:53:33 +1300
committerEyesOfAHawk <blackoutro2006@gmail.com>2018-10-16 19:53:33 +1300
commit86b135b3e0a76680af677cca491b471d6c0d6429 (patch)
tree7875fa68f9a2fccac6e2d63c28ecc92571647484 /conf
parentbaeb7a1742b0fd7ac5d3a4cecd90f74d461895fe (diff)
downloadhercules-86b135b3e0a76680af677cca491b471d6c0d6429.tar.gz
hercules-86b135b3e0a76680af677cca491b471d6c0d6429.tar.bz2
hercules-86b135b3e0a76680af677cca491b471d6c0d6429.tar.xz
hercules-86b135b3e0a76680af677cca491b471d6c0d6429.zip
Add config for '@channel setopt MessageDelay <delay>'.
Diffstat (limited to 'conf')
-rw-r--r--conf/channels.conf6
-rw-r--r--conf/messages.conf2
2 files changed, 7 insertions, 1 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
}
)
diff --git a/conf/messages.conf b/conf/messages.conf
index 9fc85cb55..dd4edb477 100644
--- a/conf/messages.conf
+++ b/conf/messages.conf
@@ -1495,7 +1495,7 @@
1448: -- Available options
1449: option '%s' is already enabled, if you'd like to disable it type '@channel opt %s 0'
1450: option '%s' is now enabled for channel '%s'
-1451: value '%d' for option '%s' is out of range (limit is 0-10)
+1451: value '%d' for option '%s' is out of range (limit is 0-%d)
1452: option '%s' is now enabled for channel '%s' with %d seconds
1453: option '%s' is now disabled for channel '%s'
1454: option '%s' is not enabled on channel '%s'