1
0
forked from keinBot/cuffeo

bye logger

This commit is contained in:
Flummi
2018-09-07 19:26:57 +02:00
parent c2acac4810
commit fe81dd73b4
2 changed files with 0 additions and 9 deletions

View File

@@ -1,4 +1,3 @@
import { logger } from "../inc/log";
import { getLevel } from "../inc/admin";
import modules from "./irc/index";
@@ -74,7 +73,6 @@ export class irc extends EventEmitter {
}
send(data) {
this.socket.write(`${data}\n`);
logger.debug(`(${this.network}) out: ${data}`);
}
sendmsg(mode, recipient, msg) {
msg = msg.split(/\r?\n/);
@@ -86,7 +84,6 @@ export class irc extends EventEmitter {
}
parse(data, [a, ...b] = data.split(/ +:/)) {
let tmp = a.split(" ").concat(b);
logger.debug(`(${this.network}) in: ${[...tmp]}`);
return data.charAt(0) === ":" ? {
prefix: tmp.shift(),
command: tmp.shift(),