minor fixes

slightly more stable, removed redundant functions and added one or two
features ;)
This commit is contained in:
hydrabolt
2015-08-11 21:23:52 +01:00
parent 0c1c3446ff
commit 62d0581c90
2 changed files with 25 additions and 23 deletions

View File

@@ -16,3 +16,9 @@ exports.Server = function(region, ownerID, name, id, members){
}
}
exports.Server.prototype.getDefaultChannel = function(){
return this.channels.filter("name", "general", true);
}