From fec10a82f61ed02524a29660bf0b6e6c898fd75e Mon Sep 17 00:00:00 2001 From: Astra Date: Mon, 14 May 2018 06:50:44 -0400 Subject: [PATCH] delete one-time members properly --- crxpwn.js | 2 +- plugin/customizer.js | 5 ++++- plugin/settings.js | 5 +++++ plugin/system.css | 3 +++ plugin/system.js | 3 +++ 5 files changed, 16 insertions(+), 2 deletions(-) diff --git a/crxpwn.js b/crxpwn.js index de430d8..2ff675e 100644 --- a/crxpwn.js +++ b/crxpwn.js @@ -11,7 +11,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. DO NOT EDIT THIS FILE! Your bootstrap may overwrite changes to it, and you will lose your work! - EndPwn3 users: You can prevent this by creating a file in the same directory named DONOTUPDATE + EndPwn3 users: You can prevent this by creating a file in the same directory named DONTUPDATE https://github.com/endpwn/ diff --git a/plugin/customizer.js b/plugin/customizer.js index d6d423f..13b3c4c 100644 --- a/plugin/customizer.js +++ b/plugin/customizer.js @@ -10,6 +10,9 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + DO NOT EDIT THIS FILE! Your bootstrap may overwrite changes to it, and you will lose your work! + EndPwn3 users: You can prevent this by creating a file in the same directory named DONTUPDATE + https://github.com/endpwn/ */ @@ -62,7 +65,7 @@ exports = { init: function () { // prevent doublecalling - endpwn.customizer.init = undefined; + delete endpwn.customizer.init; // apply custom discrims/bot tags/badges/server verif from EndPwn Customizer (endpwn.cathoderay.tube) internal.print('initializing...'); diff --git a/plugin/settings.js b/plugin/settings.js index d31bb56..b34a151 100644 --- a/plugin/settings.js +++ b/plugin/settings.js @@ -10,6 +10,9 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + DO NOT EDIT THIS FILE! Your bootstrap may overwrite changes to it, and you will lose your work! + EndPwn3 users: You can prevent this by creating a file in the same directory named DONTUPDATE + https://github.com/endpwn/ */ @@ -22,6 +25,8 @@ exports = { init: function () { + delete endpwn.settings.init; + var currentSection = ''; $api.events.listen('ENDPWN_PSEUDO_IPC', msg => { diff --git a/plugin/system.css b/plugin/system.css index a6600b7..9ffeb76 100644 --- a/plugin/system.css +++ b/plugin/system.css @@ -10,6 +10,9 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + DO NOT EDIT THIS FILE! Your bootstrap may overwrite changes to it, and you will lose your work! + EndPwn3 users: You can prevent this by creating a file in the same directory named DONTUPDATE + https://github.com/endpwn/ */ diff --git a/plugin/system.js b/plugin/system.js index 1e8dbd1..41d8035 100644 --- a/plugin/system.js +++ b/plugin/system.js @@ -10,6 +10,9 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + DO NOT EDIT THIS FILE! Your bootstrap may overwrite changes to it, and you will lose your work! + EndPwn3 users: You can prevent this by creating a file in the same directory named DONTUPDATE + https://github.com/endpwn/ */