This commit is contained in:
Flummi 2019-08-25 10:54:58 +00:00
parent 0d45670ae4
commit 8f139417f1

View File

@ -2,7 +2,7 @@ export default bot => {
bot._cmd.set("NICK", msg => { // nickchange
let prefix = bot.parsePrefix(msg.prefix);
if (bot.server.user.has(prefix.nick))
bot.server.user.del(prefix.nick);
bot.server.user.delete(prefix.nick);
bot.whois(msg.params[0], true); // force
});
};