From 56864a42d8ceb5969e67be482e94abb010653e3a Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 3 Dec 2012 22:20:13 +0100 Subject: [PATCH] Add Event Wildcard * --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 3b62d6c..4925aca 100755 --- a/bot.py +++ b/bot.py @@ -220,7 +220,7 @@ class Phenny(irc.Bot): items = list(self.commands[priority].items()) for regexp, funcs in items: for func in funcs: - if event != func.event: continue + if event != func.event and func.event != '*': continue match = regexp.match(text) if match: