Fug, I used the wrong varname
This commit is contained in:
parent
fab78019ea
commit
4cf0f76733
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue