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

16 lines
197 B
JavaScript
Raw Normal View History

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