1
0
forked from keinBot/cuffeo
This commit is contained in:
Flummi
2018-09-07 19:22:47 +02:00
parent db7e2e9f39
commit 7c8a83fa3c
17 changed files with 643 additions and 0 deletions

8
src/clients/irc/nick.mjs Normal file
View File

@@ -0,0 +1,8 @@
export default client => {
client._cmd.set("NICK", function (msg) { // nickchange
let prefix = this.parsePrefix(msg.prefix);
if (this.server.user.hasi(prefix.nick))
this.server.user.deli(prefix.nick);
this.whois(msg.params[0], true); // force
}.bind(client));
};