fixed cap error and requires list

This commit is contained in:
hydrabolt
2015-08-15 15:41:40 +01:00
parent 4e3b6262ca
commit d1ee189208
2 changed files with 3 additions and 1 deletions

View File

@@ -1,3 +1,5 @@
var List = require("./list.js").List;
exports.Channel = function(name, server, type, id, isPrivate){
if(!type){ //there's no second argument