Browse Source

Fix incorrect (lack of) assignment

master
Lyubomir Marinov 9 years ago
parent
commit
dabb772851
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      modules/xmpp/xmpp.js

+ 1
- 1
modules/xmpp/xmpp.js View File

@@ -156,7 +156,7 @@ XMPP.prototype._connect = function (jid, password) {
156 156
 
157 157
     this.anonymousConnectionFailed = false;
158 158
     this.connectionFailed = false;
159
-    this.lastErrorMsg;
159
+    this.lastErrorMsg = undefined;
160 160
     this.connection.connect(jid, password,
161 161
         this.connectionHandler.bind(this, password));
162 162
 }

Loading…
Cancel
Save