Finish channel ranks / moderator list

This commit is contained in:
calzoneman 2014-01-09 17:16:09 -06:00
parent 2fadd70297
commit 8554c38c7d
6 changed files with 110 additions and 98 deletions

View file

@ -419,6 +419,11 @@ module.exports = {
callback = blackHole;
}
if (rank < 2) {
module.exports.deleteRank(chan, name, callback);
return;
}
if (!valid(chan)) {
callback("Invalid channel name", null);
return;