Fug, I used the wrong varname

This commit is contained in:
calzoneman 2013-07-14 21:04:34 -04:00
parent fab78019ea
commit 4cf0f76733

View file

@ -210,7 +210,7 @@ exports.getOrCreateChannel = function (name) {
return chan;
else if(chan !== undefined && chan.name === undefined) {
Logger.errlog.log("Empty channel still loaded: ", name);
delete exports.channels[name];
delete channels[name];
}
return exports.createChannel(name);
}