Browse files

Fix double hash typo on !re

  • Loading branch information...
1 parent 649ec01 commit bb72d810e8d905b4dc6cf7bf533ca7033bfcb888 @rehandalal rehandalal committed Oct 2, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 standup-irc.js
View
5 standup-irc.js
@@ -382,10 +382,11 @@ var commands = {
usage: "<id> <comment>",
func: function(user, channel, message, args) {
utils.ifAuthorized(user, channel, function() {
- var response = api.status.create(user, null, args.slice(1).join(' '), parseInt(args[0]));
+ var reply_to = parseInt(args[0]);
+ var response = api.status.create(user, null, args.slice(1).join(' '), reply_to);
response.once('ok', function(data) {
- utils.talkback(channel, user, 'Ok, commented on #' + args[0] + ' with #' + data.id);
+ utils.talkback(channel, user, 'Ok, commented on #' + reply_to + ' with #' + data.id);
});
response.once('error', function(err, data) {

0 comments on commit bb72d81

Please sign in to comment.