This commit is contained in:
Flummi 2018-09-08 12:57:16 +02:00
parent ea3757d86c
commit 5177dbee5a

View File

@ -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) {