Skip to content
This repository has been archived by the owner on Dec 21, 2018. It is now read-only.

Commit

Permalink
Fix double hash typo on !re
Browse files Browse the repository at this point in the history
  • Loading branch information
rehandalal committed Oct 2, 2012
1 parent 649ec01 commit bb72d81
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions standup-irc.js
Expand Up @@ -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) {
Expand Down

0 comments on commit bb72d81

Please sign in to comment.