thelounge/client/js/libs/handlebars/modes.js
Pavel Djundik fb87bd3a58 Webpack
2016-12-27 19:15:30 +02:00

12 lines
187 B
JavaScript

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