Permalink
Browse files

Hacked this into working again.

  • Loading branch information...
1 parent 4affdd5 commit 5a5b3f189a243936a034d68ddd6a7ca91156a99f @codebutler committed Jun 8, 2012
Showing 4,700 changed files with 727,881 additions and 4 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
View
@@ -1 +1,2 @@
-node_modules
+node_modules/colors
+node_modules/dnode-protocol
View
@@ -134,8 +134,9 @@ Kohai.prototype.checkComment = function (data) {
Kohai.prototype.sayTweet = function (data) {
var self = this;
- Object.getOwnPropertyNames(self.channels).forEach(function (channel) {
- if (self.channels[channel].wantsTweets === 'true') {
+
+ self.channels.forEach(function (channel) {
+ if (self.channels[channel].wantsTweets === true) {
if ((self.channels[channel].volume / 2) > self.channels[channel].currentTweetCount) {
self.emit('sendMsg', {dest: channel, msg: data});
self.channels[channel].currentTweetCount++;
View
@@ -48,7 +48,7 @@ listeners.init = function () {
});
self.on('*::error::*', function (data) {
- console.log(data);
+ console.log('error', data);
});
_lazyLoad.call(self);
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 5a5b3f1

Please sign in to comment.