mirror of
https://github.com/thelounge/thelounge
synced 2024-12-20 17:33:15 +00:00
1dc92d8934
¯\_(ツ)_/¯
14 lines
203 B
JavaScript
14 lines
203 B
JavaScript
"use strict";
|
|
|
|
module.exports = function(mode) {
|
|
var modes = {
|
|
"~": "owner",
|
|
"&": "admin",
|
|
"!": "admin",
|
|
"@": "op",
|
|
"%": "half-op",
|
|
"+": "voice",
|
|
"": "normal",
|
|
};
|
|
return modes[mode];
|
|
};
|