From 26d56f6f09962fd2a322978cb22466f29d123c7b Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 18 Dec 2013 17:58:05 +0100 Subject: Reaktor/IRC: reading kill_timeout from config --- IRC/asybot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRC/asybot.py b/IRC/asybot.py index 6d19fd0..31af28d 100755 --- a/IRC/asybot.py +++ b/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() -- cgit v1.2.3