Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix typo

  • Loading branch information...
commit fe2d1a347cb93aec5f0484493d8a09241bc3ea8f 1 parent 9505050
@thedjpetersen authored
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;
Please sign in to comment.
Something went wrong with that request. Please try again.