Skip to content
Browse files

Fix the error on nick change

  • Loading branch information...
1 parent e7a01e2 commit ab6caa4c875fa35810e464c589202ea5a7bfa420 HyeonJe Jun committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/socket.js
View
2 lib/socket.js
@@ -136,7 +136,7 @@ module.exports = function(socket, connections) {
socket.on('nick', function(data){
connection.client.send('NICK', data.nick);
connection.client.nick = data.nick;
- connection.client.opt.nick = client.nick;
+ connection.client.opt.nick = data.nick;
});
socket.on('command', function(text) {

0 comments on commit ab6caa4

Please sign in to comment.
Something went wrong with that request. Please try again.