From d8dcd0edb7adeac0f375e57b365da588971a5da2 Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 18 Dec 2013 17:58:40 +0100 Subject: Reaktor/IRC: match only one pattern --- IRC/asybot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/IRC/asybot.py b/IRC/asybot.py index 31af28d..89967c3 100755 --- a/IRC/asybot.py +++ b/IRC/asybot.py @@ -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 -- cgit v1.2.3