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

15 lines
202 B
JavaScript
Raw Normal View History

"use strict";
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];
};