Browse files

Fix typo

  • Loading branch information...
1 parent 9505050 commit fe2d1a347cb93aec5f0484493d8a09241bc3ea8f @thedjpetersen committed Oct 18, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 lib/socket.js
  2. +1 −1 lib/subway.js
View
4 lib/socket.js
@@ -104,8 +104,8 @@ module.exports = function(socket, connections) {
socket.removeAllListeners('part_pm');
socket.on('part_pm', function(name){
- if(connection.clients.chans[name.toLowerCase()] !== undefined){
- delete connection.clients.chans[name.toLowerCase()];
+ if(connection.client.chans[name.toLowerCase()] !== undefined){
+ delete connection.client.chans[name.toLowerCase()];
}
});
View
2 lib/subway.js
@@ -32,4 +32,4 @@ Subway.prototype.start = function () {
if (this.app.address()) console.log('Subway started on port %s', this.app.address().port);
}
-module.exports = Subway;
+module.exports = Subway;

0 comments on commit fe2d1a3

Please sign in to comment.