change order of staff/moderator names at top of Tavern chat to staff, npc, moderator

This commit is contained in:
Alice Harris 2014-08-26 20:10:12 +10:00
parent 040352f434
commit 1beda6987a

View file

@ -444,6 +444,6 @@ UserSchema.methods.unlink = function(options, cb) {
module.exports.schema = UserSchema;
module.exports.model = mongoose.model("User", UserSchema);
mongoose.model("User").find({$query:{'contributor.admin':true}, $orderby:{'contributor.level':-1, 'profile.name':1}},function(err,mods){
mongoose.model("User").find({$query:{'contributor.admin':true}, $orderby:{'contributor.level':-1, 'backer.npc':-1, 'profile.name':1}},function(err,mods){
module.exports.mods = mods
});