Finish channel ranks / moderator list
This commit is contained in:
parent
2fadd70297
commit
8554c38c7d
6 changed files with 110 additions and 98 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue