more updates to privileges revamp

This commit is contained in:
Julian Lam
2014-05-11 23:06:40 -04:00
parent 72ca0d6d40
commit 7c8b442dcd
10 changed files with 49 additions and 56 deletions

View File

@@ -290,7 +290,7 @@ SocketTopics.moveAll = function(socket, data, callback) {
return callback(err);
}
if (!results.from.admin && (!results.from.moderator || !results.to.moderator)) {
if (!results.from.admin && (!results.from.mods || !results.to.mods)) {
return callback(new Error('[[error:no-privileges]]'));
}