Skip to content

Commit

Permalink
Merge pull request #1 from JeanSebTr/44cad9ee71f5262b6b2bc9e925fa9fb2…
Browse files Browse the repository at this point in the history
…20e94f4b

sendCommand instead of send_command
  • Loading branch information
derekcollison committed Feb 25, 2012
2 parents b81bc35 + 44cad9e commit 3c036d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nats.js
Expand Up @@ -288,7 +288,7 @@ Client.prototype.createConnection = function() {
var cb = client.pongs.shift()
if (cb) cb();
} else if (m = PING.exec(client.inbound)) {
this.send_command(PONG_RESPONSE);
client.sendCommand(PONG_RESPONSE);
} else if (m = INFO.exec(client.inbound)) {
// Nothing for now..
} else {
Expand Down

0 comments on commit 3c036d7

Please sign in to comment.