Skip to content

Commit

Permalink
another oops
Browse files Browse the repository at this point in the history
  • Loading branch information
arturadib committed Apr 17, 2012
1 parent 081caf6 commit b8cf068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ app.post('/', function(req, res) {

var commentBody = payload.comment.body,
handle = config.handle || 'botio',
match = commentBody.match(new RegExp('^\/'+handle+' *(\w*)', 'm'));
match = commentBody.match(new RegExp('^\/'+handle+' +(\\w+)', 'm'));

if (!match) {
debug('not a bot command, skipping comment:', payload.comment.url);
Expand Down

0 comments on commit b8cf068

Please sign in to comment.