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