Skip to content

Commit

Permalink
Regexp fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
jarib committed Mar 19, 2013
1 parent 9f1408f commit 1e9a706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/hdo-counts.coffee
Expand Up @@ -12,7 +12,7 @@
# jarib

module.exports = (robot) ->
robot.respond /(?:hvor mange )?dager til (valget|kampanj(e|en|estart)|rfa)/i, (msg) ->
robot.respond /(?:hvor mange )?dager (?:er det )?til (valget|kampanj(e|en|estart)|rfa)/i, (msg) ->
match = msg.match[1]

if match == "valget"
Expand Down

0 comments on commit 1e9a706

Please sign in to comment.