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 b41ce1f6f3
commit 87d8387640
+1 -1
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
});