Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix double hash typo on !re

  • Loading branch information...
commit bb72d810e8d905b4dc6cf7bf533ca7033bfcb888 1 parent 649ec01
@rehandalal rehandalal authored
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) {
Please sign in to comment.
Something went wrong with that request. Please try again.