summaryrefslogtreecommitdiffstats
path: root/Reaktor/IRC
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2013-12-18 18:24:48 +0100
committertv <tv@nomic.retiolum>2013-12-18 18:28:15 +0100
commitba50d1a587b9fcef21bce621757514022284b146 (patch)
treeef764c3d49e8757c32d51b548a910ccf0921a834 /Reaktor/IRC
parentcf60629422036cf3d8d6e10b086eb600cd16c975 (diff)
parent6ab529502210751f89c832558e2db26c2ade36ab (diff)
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'Reaktor/IRC')
-rwxr-xr-xReaktor/IRC/asybot.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Reaktor/IRC/asybot.py b/Reaktor/IRC/asybot.py
index 6d19fd09..89967c3f 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()
@@ -129,6 +129,7 @@ class asybot(asychat):
y = match(command['pattern'], rest)
if y:
self.execute_command(command, y, PRIVMSG, ME)
+ break
def execute_command(self, command, match, PRIVMSG, ME):
from os.path import realpath, dirname, join