Skip to content
This repository was archived by the owner on Nov 28, 2018. It is now read-only.

Commit 04e9901

Browse files
committed
Connected property needs to be more realistic
1 parent 761f33c commit 04e9901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/frame.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ Frame = module.exports = function(logger) {
1313
};
1414

1515
Frame.prototype.stomp_connect = function(client) {
16-
this.connected = true;
1716
this.sock = client;
1817
var args = {};
1918
var headers = {};
@@ -23,6 +22,7 @@ Frame.prototype.stomp_connect = function(client) {
2322
frame_to_send = this.build_frame(args);
2423
this.send_frame(frame_to_send);
2524
this.stomp_log.debug('Connected to STOMP');
25+
this.connected = true;
2626
return this;
2727
};
2828

0 commit comments

Comments
 (0)