fuck my life

This commit is contained in:
Astra 2018-04-27 20:33:46 -04:00
parent 202572103c
commit 99976473dd

View file

@ -75,7 +75,7 @@
// hijack the crash handler // hijack the crash handler
// TODO: make this less ugly // TODO: make this less ugly
$api.util.findFuncExports('CRASH', 'prototype').prototype.render = function () { /*$api.util.findFuncExports('CRASH', 'prototype').prototype.render = function () {
console.error('*** DISCORD CRASH!!! ***\nLOCKING DISPATCH AND HIJACKING PAGE'); console.error('*** DISCORD CRASH!!! ***\nLOCKING DISPATCH AND HIJACKING PAGE');
@ -106,7 +106,7 @@ Details may be available in the console (Ctrl+Shift+I), but at this level of cra
// crash whatever was calling render() // crash whatever was calling render()
throw 'render abort'; throw 'render abort';
} }*/
// disable analytics // disable analytics
$api.util.findFuncExports("AnalyticEventConfigs").default.track = () => { }; $api.util.findFuncExports("AnalyticEventConfigs").default.track = () => { };