summaryrefslogtreecommitdiff
path: root/conf/channels.conf
diff options
context:
space:
mode:
authorhemagx <hemagx2@gmail.com>2016-04-23 21:37:16 +0200
committerhemagx <hemagx2@gmail.com>2016-04-25 00:23:34 +0200
commit5edc982e3e2e0c6fc643b229d1c06ea75a618d15 (patch)
tree8b4129fef971fc40152a47ee412df66b0d3e1d4c /conf/channels.conf
parent31e27a130676e3e416b583bb947f9dd87efdce81 (diff)
downloadhercules-5edc982e3e2e0c6fc643b229d1c06ea75a618d15.tar.gz
hercules-5edc982e3e2e0c6fc643b229d1c06ea75a618d15.tar.bz2
hercules-5edc982e3e2e0c6fc643b229d1c06ea75a618d15.tar.xz
hercules-5edc982e3e2e0c6fc643b229d1c06ea75a618d15.zip
Added a flood protection to IRC Bot
Now it's possible to send as many messages as possible without get kicked for flood.
Diffstat (limited to 'conf/channels.conf')
-rw-r--r--conf/channels.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/channels.conf b/conf/channels.conf
index bd1dcaf4a..9c2b567f4 100644
--- a/conf/channels.conf
+++ b/conf/channels.conf
@@ -61,5 +61,8 @@ chsys: (
irc_channel_nick_pw: "" /* password to this nick (if any) to identify to nick server on the irc network */
irc_channel_use_ghost: false /* whether to send a GHOST command to the nick server (requires irc_channel_nick_pw to be defined) */
irc_channel_autojoin: false
+ 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 */
}
)