Revert "Fix missing sendText on amt-redir-ws."

This reverts commit 9b486456307e8569a03afe4fc77fc9651b75f5b5.

jsastriawan committed Apr 9, 2020 at 08:46 UTC 327d58ea320ad12bb29548e34d7e59e3f039f612
1 file changed -2
public/scripts/amt-redir-ws-0.1.0.js
-2
@@ -270,8 +270,6 @@ var CreateAmtRedirect = function (module, authCookie) {
270 }
271 }
272
273 - obj.sendText = obj.xxSend;
274 -
273 obj.send = function (x) {
274 if (obj.socket == null || obj.connectstate != 1) return;
275 if (obj.protocol == 1) { obj.xxSend(String.fromCharCode(0x28, 0x00, 0x00, 0x00) + IntToStrX(obj.amtsequence++) + ShortToStrX(x.length) + x); } else { obj.xxSend(x); }