hardlounge/client/js/libs/handlebars/modes.js
2017-03-18 11:21:18 +02:00

15 lines
202 B
JavaScript

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