Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix packet type (1.0) #549

Closed
wants to merge 1 commit into from

1 participant

@nkzawa
Collaborator

No description provided.

@nkzawa nkzawa closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 28, 2013
  1. @nkzawa

    fix packet type

    nkzawa authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/socket.js
View
2  lib/socket.js
@@ -336,7 +336,7 @@ Socket.prototype.disconnect = function(){
if (!this.connected) return this;
debug('performing disconnect (%s)', this.nsp);
- this.packet({ type: parser.PACKET_DISCONNECT });
+ this.packet({ type: parser.DISCONNECT });
// destroy subscriptions
this.destroy();
Something went wrong with that request. Please try again.