change order of staff/moderator names at top of Tavern chat to staff, npc, moderator
This commit is contained in:
+1
-1
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user