-.-
This commit is contained in:
parent
ea3757d86c
commit
5177dbee5a
@ -1,6 +1,6 @@
|
||||
import { irc as irclib } from "./src/clients/irc";
|
||||
import { tg as tglib } from "./src/clients/tg";
|
||||
import { admins } from "./src/inc/admin";
|
||||
import * as admins from "./src/inc/admin";
|
||||
|
||||
import EventEmitter from "events";
|
||||
|
||||
@ -9,7 +9,7 @@ const clients = [];
|
||||
const cuffeo = class cuffeo extends EventEmitter {
|
||||
constructor(cfg, _admins = []) {
|
||||
super();
|
||||
admins = _admins;
|
||||
admins.admins = _admins;
|
||||
for (let srv in cfg) {
|
||||
if(cfg[srv].val.enabled) {
|
||||
switch (cfg[srv].val.type) {
|
||||
|
Loading…
Reference in New Issue
Block a user