From eaa8650c9be413664ef52c56b504e9b7fdaafc38 Mon Sep 17 00:00:00 2001 From: Joe Robinson Date: Thu, 13 Oct 2016 23:26:13 +0100 Subject: Temp fix, duplicate channel joining code --- handlers.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'handlers.js') diff --git a/handlers.js b/handlers.js index e43a250..6769b53 100644 --- a/handlers.js +++ b/handlers.js @@ -4,7 +4,6 @@ var util = require("./util.js") var numChans = 1; var channels; -var buffers = []; var client; var myNick = "" module.exports.setChannels = function(myChannels) { @@ -50,7 +49,6 @@ function joinChannel(channel, sendJoin) { var channelObj = client.channel(channel); if (sendJoin) { - buffers.push(channelObj); channelObj.join(); channelObj.say("beep"); } -- cgit v1.2.3