forked from keinBot/cuffeo
...
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import admins from "../inc/admin";
|
||||
import { getLevel } from "../inc/admin";
|
||||
import modules from "./irc/index";
|
||||
|
||||
import net from "net";
|
||||
@@ -102,7 +102,7 @@ export class irc extends EventEmitter {
|
||||
user: Object.assign(this.parsePrefix(tmp.prefix), {
|
||||
account: this.server.user.geti(this.parsePrefix(tmp.prefix).nick).account,
|
||||
prefix: tmp.prefix.charAt(0) === ":" ? tmp.prefix.substring(1) : tmp.prefix,
|
||||
level: admins.getLevel(this.network, Object.assign(this.parsePrefix(tmp.prefix), {
|
||||
level: getLevel(this.network, Object.assign(this.parsePrefix(tmp.prefix), {
|
||||
account: this.server.user.geti(this.parsePrefix(tmp.prefix).nick).account,
|
||||
prefix: tmp.prefix.charAt(0) === ":" ? tmp.prefix.substring(1) : tmp.prefix
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user