mirror of
https://github.com/thelounge/thelounge
synced 2024-11-23 12:33:07 +00:00
dcefcd19cb
Closes #895
14 lines
202 B
JavaScript
14 lines
202 B
JavaScript
"use strict";
|
|
|
|
module.exports = function(mode) {
|
|
var modes = {
|
|
"~": "owner",
|
|
"&": "admin",
|
|
"!": "admin",
|
|
"@": "op",
|
|
"%": "half-op",
|
|
"+": "voice",
|
|
"": "normal"
|
|
};
|
|
return modes[mode];
|
|
};
|