mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-12 05:02:33 +01:00
relay_clientbot: bump default startup delay to 20 seconds
This commit is contained in:
parent
f5f30c118a
commit
29bb4c3dfd
@ -50,7 +50,7 @@ def cb_relay_core(irc, source, command, args):
|
|||||||
relay_conf = conf.conf.get('relay', {})
|
relay_conf = conf.conf.get('relay', {})
|
||||||
|
|
||||||
# Be less floody on startup: don't relay non-PRIVMSGs for the first X seconds after connect.
|
# Be less floody on startup: don't relay non-PRIVMSGs for the first X seconds after connect.
|
||||||
startup_delay = relay_conf.get('clientbot_startup_delay', 5)
|
startup_delay = relay_conf.get('clientbot_startup_delay', 20)
|
||||||
|
|
||||||
# Special case for CTCPs.
|
# Special case for CTCPs.
|
||||||
if real_command == 'MESSAGE':
|
if real_command == 'MESSAGE':
|
||||||
|
Loading…
Reference in New Issue
Block a user