cinchrb / cinch

The IRC Bot Building Framework
http://www.rubydoc.info/gems/cinch
MIT License
1k stars 180 forks source link

Allow hooks for specific matcher groups #144

Closed causal-agent closed 10 years ago

causal-agent commented 10 years ago

Fixes #143.

Hooks without groups are always executed. Matchers execute the global hooks (the ones lacking groups) along with the hooks in their group.

dominikh commented 10 years ago

Looks good to me, apart from the style comment. Will test and then merge.