From: Darren Date: Fri, 1 Feb 2013 15:31:07 +0000 (+0000) Subject: Server: IrcChannel definition consistancy X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1f6caa9c8d096171265c45cb7237fd3351de36f5;p=KiwiIRC.git Server: IrcChannel definition consistancy --- diff --git a/server/irc/channel.js b/server/irc/channel.js index 72397af..dc7c180 100644 --- a/server/irc/channel.js +++ b/server/irc/channel.js @@ -2,7 +2,7 @@ var util = require('util'), EventBinder = require('./eventbinder.js'), IrcUser = require('./user.js'); -function IrcChannel(irc_connection, name) { +var IrcChannel = function(irc_connection, name) { this.irc_connection = irc_connection; this.name = name;