a3e448acf5
Fixes #1961
16 lines
197 B
JavaScript
16 lines
197 B
JavaScript
"use strict";
|
|
|
|
const modes = {
|
|
"~": "owner",
|
|
"&": "admin",
|
|
"!": "admin",
|
|
"@": "op",
|
|
"%": "half-op",
|
|
"+": "voice",
|
|
"": "normal",
|
|
};
|
|
|
|
module.exports = function(mode) {
|
|
return modes[mode];
|
|
};
|