mirror of
https://github.com/thelounge/thelounge
synced 2024-12-22 10:23:07 +00:00
12 lines
187 B
JavaScript
12 lines
187 B
JavaScript
module.exports = function(mode) {
|
|
var modes = {
|
|
"~": "owner",
|
|
"&": "admin",
|
|
"!": "admin",
|
|
"@": "op",
|
|
"%": "half-op",
|
|
"+": "voice",
|
|
"": "normal"
|
|
};
|
|
return modes[mode];
|
|
};
|