Skip to content
This repository has been archived by the owner on Oct 25, 2019. It is now read-only.

Commit

Permalink
Add Event Wildcard *
Browse files Browse the repository at this point in the history
  • Loading branch information
sfan5 authored and mutantmonkey committed Dec 16, 2012
1 parent f59392d commit 56864a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def dispatch(self, origin, args):
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:
Expand Down

0 comments on commit 56864a4

Please sign in to comment.