1
0
mirror of https://github.com/hack-chat/main.git synced 2024-03-22 13:20:33 +08:00

Fixed changenick command, userExists now works.

This commit is contained in:
bacn 2018-04-30 00:07:16 +08:00
parent 8820968c73
commit d40db7077b

View File

@ -45,7 +45,7 @@ exports.run = async (core, server, socket, data) => {
}
let userExists = server.findSockets({
channel: data.channel,
channel: socket.channel,
nick: (targetNick) => targetNick.toLowerCase() === newNick.toLowerCase()
});