summaryrefslogtreecommitdiffstats
path: root/Reaktor/IRC
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2013-12-18 17:58:05 +0100
committerlassulus <lassulus@googlemail.com>2013-12-18 17:58:05 +0100
commit2303fb11a12715aaefcf227172c437cc0e6da9cf (patch)
tree055370e825700d299e7419eac2f46e2584ef2b3f /Reaktor/IRC
parentdf09258ff26b98fcba7065208e230b71672c6055 (diff)
Reaktor/IRC: reading kill_timeout from config
Diffstat (limited to 'Reaktor/IRC')
-rwxr-xr-xReaktor/IRC/asybot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Reaktor/IRC/asybot.py b/Reaktor/IRC/asybot.py
index 6d19fd09..31af28d2 100755
--- a/Reaktor/IRC/asybot.py
+++ b/Reaktor/IRC/asybot.py
@@ -54,7 +54,7 @@ class asybot(asychat):
# passed without a message. Any incoming message will reset alarm.
self.alarm_timeout = getconf('irc_alarm_timeout')
self.hammer_interval = getconf('irc_hammer_interval')
- self.kill_timeout = 360
+ self.kill_timeout = getconf('irc_kill_timeout')
signal(SIGALRM, lambda signum, frame: self.alarm_handler())
self.reset_alarm()