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

Merge pull request #10 from bacn/master

Fixed changenick command, userExists now works.
This commit is contained in:
marzavec 2018-04-29 11:22:34 -05:00 committed by GitHub
commit b341644d93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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()
});