thelounge/client/js/libs/handlebars/modes.js

13 lines
187 B
JavaScript
Raw Normal View History

2016-12-18 15:53:28 +00:00
module.exports = function(mode) {
var modes = {
"~": "owner",
"&": "admin",
"!": "admin",
"@": "op",
"%": "half-op",
"+": "voice",
"": "normal"
};
return modes[mode];
};