lib/bot/responder.rb in bot-0.0.16 vs lib/bot/responder.rb in bot-0.0.17

- old
+ new

@@ -73,10 +73,10 @@ message end def match_message(match) if match.is_a?(Regexp) - match.match(message['body']) + !!(message['body'] =~ match) else message['body'].upcase == match.upcase end end