Skip to content

Commit

Permalink
Fixes #29
Browse files Browse the repository at this point in the history
Removed this patch: Zirak@aa7d282
  • Loading branch information
dannybeckett committed Jan 18, 2014
1 parent 2615915 commit 83696bd
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions source/adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,6 @@ var output = bot.adapter.out = {
'409' : 0, //count the number of conflicts
total : 0, //number of messages sent
interval : polling.interval + 500,
flushWait : 500,

init : function () {},

Expand All @@ -479,15 +478,12 @@ var output = bot.adapter.out = {
//unless the bot's stopped. in which case, it should shut the fudge up
// the freezer and never let it out. not until it can talk again. what
// was I intending to say?
if ( bot.stopped ) {
if ( !bot.stopped ) {
//ah fuck it
return;
this.sendToRoom( obj.text, obj.room );
}

// #152, wait a bit before sending output.
setTimeout(function () {
output.sendToRoom( obj.text, obj.room );
}, this.flushWait );
// Removed patch for upstream issue #152 - fixes our issue #29
},

//what's brown and sticky?
Expand Down

0 comments on commit 83696bd

Please sign in to comment.