diff options
author | sfan5 <sfan5@live.de> | 2012-12-03 22:20:13 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2012-12-03 22:20:13 +0100 |
commit | 81822b5bf3e0bb36c7ee117fc3aeb2ded5897609 (patch) | |
tree | 3906231fd6e9a10299ca965e1ee77b4215c3a607 /bot.py | |
parent | bb40d1ad38ad9754819f46ec7d025fab67c947c0 (diff) | |
download | bot-81822b5bf3e0bb36c7ee117fc3aeb2ded5897609.tar.gz bot-81822b5bf3e0bb36c7ee117fc3aeb2ded5897609.tar.bz2 bot-81822b5bf3e0bb36c7ee117fc3aeb2ded5897609.zip |
Add Event Wildcard *
Diffstat (limited to 'bot.py')
-rwxr-xr-x | bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -205,7 +205,7 @@ class Phenny(irc.Bot): items = 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: |