Skip to content

Commit

Permalink
Merge pull request #161 from noraesae/master
Browse files Browse the repository at this point in the history
Fix the error on nick change
  • Loading branch information
thedjpetersen committed Sep 25, 2012
2 parents e7a01e2 + ab6caa4 commit 00afc4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/socket.js
Expand Up @@ -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) {
Expand Down

0 comments on commit 00afc4d

Please sign in to comment.