Add permissions editor

This commit is contained in:
calzoneman 2014-01-20 12:16:30 -06:00
parent 8c47221a22
commit fd6b95920a
5 changed files with 40 additions and 20 deletions

View file

@ -2329,7 +2329,7 @@ Channel.prototype.handleMoveFilter = function (user, data) {
/**
* Handles a user message to change the channel permissions
*/
Channel.prototype.handleUpdatePermissions = function (user, perms) {
Channel.prototype.handleSetPermissions = function (user, perms) {
if (user.rank < 3) {
user.kick("Attempted setPermissions as a non-admin");
return;