1
0
forked from keinBot/cuffeo
This commit is contained in:
Flummi
2020-02-20 17:57:41 +01:00
parent 85c2a6f963
commit 15e4d6af5e
4 changed files with 4 additions and 4 deletions

View File

@@ -106,7 +106,7 @@ export default class irc extends EventEmitter {
channelid: tmp.params[0],
user: { ...this.parsePrefix(tmp.prefix), ...{
account: this.server.user.has(this.parsePrefix(tmp.prefix).nick) ? this.server.user.get(this.parsePrefix(tmp.prefix).nick).account : false,
prefix: tmp.prefix.charAt(0) === ":" ? tmp.prefix.substring(1) : tmp.prefix
prefix: (tmp.prefix.charAt(0) === ":" ? tmp.prefix.substring(1) : tmp.prefix) + `@${this.network}`
}},
message: tmp.params[1].replace(/\u0002/, ""),
time: ~~(Date.now() / 1000),