From 5edc982e3e2e0c6fc643b229d1c06ea75a618d15 Mon Sep 17 00:00:00 2001 From: hemagx Date: Sat, 23 Apr 2016 21:37:16 +0200 Subject: Added a flood protection to IRC Bot Now it's possible to send as many messages as possible without get kicked for flood. --- conf/channels.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'conf/channels.conf') 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 */ } ) -- cgit v1.2.3-70-g09d2