Server: IrcChannel definition consistancy
authorDarren <darren@darrenwhitlen.com>
Fri, 1 Feb 2013 15:31:07 +0000 (15:31 +0000)
committerDarren <darren@darrenwhitlen.com>
Fri, 1 Feb 2013 15:31:07 +0000 (15:31 +0000)
server/irc/channel.js

index 72397af9b643d2bbb4f876b80fecd7fac73e1373..dc7c18055eadb3e14530e72da9613ee4b01679fc 100644 (file)
@@ -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;