summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2013-12-18 17:58:40 +0100
committerlassulus <lassulus@googlemail.com>2013-12-18 17:58:40 +0100
commit9c04a22503d01763424db7119a3206c89b43cd78 (patch)
tree077209fded411a7b6864848563ca38f54993ffcb
parent2303fb11a12715aaefcf227172c437cc0e6da9cf (diff)
Reaktor/IRC: match only one pattern
-rwxr-xr-xReaktor/IRC/asybot.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Reaktor/IRC/asybot.py b/Reaktor/IRC/asybot.py
index 31af28d2..89967c3f 100755
--- a/Reaktor/IRC/asybot.py
+++ b/Reaktor/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