From 327d58ea320ad12bb29548e34d7e59e3f039f612 Mon Sep 17 00:00:00 2001 From: jsastriawan Date: Thu, 9 Apr 2020 08:46:16 -0700 Subject: [PATCH] Revert "Fix missing sendText on amt-redir-ws." This reverts commit 9b486456307e8569a03afe4fc77fc9651b75f5b5. --- public/scripts/amt-redir-ws-0.1.0.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/public/scripts/amt-redir-ws-0.1.0.js b/public/scripts/amt-redir-ws-0.1.0.js index 20e80c26..d03c387b 100644 --- a/public/scripts/amt-redir-ws-0.1.0.js +++ b/public/scripts/amt-redir-ws-0.1.0.js @@ -270,8 +270,6 @@ var CreateAmtRedirect = function (module, authCookie) { } } - obj.sendText = obj.xxSend; - obj.send = function (x) { if (obj.socket == null || obj.connectstate != 1) return; if (obj.protocol == 1) { obj.xxSend(String.fromCharCode(0x28, 0x00, 0x00, 0x00) + IntToStrX(obj.amtsequence++) + ShortToStrX(x.length) + x); } else { obj.xxSend(x); }