Update Client.js

This commit is contained in:
Lamp 2021-04-07 13:30:26 -07:00 committed by GitHub
parent 19cfcb7e91
commit abc3f017e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ Client.prototype.connect = function() {
});
this.ws.addEventListener("open", function(evt) {
self.connectionTime = Date.now();
self.sendArray([{m: "hi", x: 1, password: this.uri.includes("mppclone.com") && "lamp-baCC88WioQcRvmaPGKkHB63RiqE3QWSowPjCJDZKGGvMKeq1MfqIKwBPtYNGjdnJ"}]); //todo dont b lazy
self.sendArray([{m: "hi", x: 1, password: self.uri.includes("mppclone.com") && "lamp-baCC88WioQcRvmaPGKkHB63RiqE3QWSowPjCJDZKGGvMKeq1MfqIKwBPtYNGjdnJ"}]); //todo dont b lazy
self.pingInterval = setInterval(function() {
self.sendArray([{m: "t", e: Date.now()}]);
}, 20000);