From abc8e058a11fa2941708ab5fce198d07a0e4d10f Mon Sep 17 00:00:00 2001 From: Nyo Date: Thu, 20 Oct 2016 20:22:23 +0200 Subject: [PATCH] .BANCHO. .HIDE. Remove cloudflare option in config.ini --- helpers/configHelper.py | 2 -- objects/glob.py | 1 - pep.py | 3 --- 3 files changed, 6 deletions(-) diff --git a/helpers/configHelper.py b/helpers/configHelper.py index 1798c04..a57bbe3 100644 --- a/helpers/configHelper.py +++ b/helpers/configHelper.py @@ -42,7 +42,6 @@ class config: self.config.get("server","gzip") self.config.get("server","gziplevel") self.config.get("server","cikey") - self.config.get("server","cloudflare") self.config.get("mirror","url") self.config.get("mirror","apikey") @@ -94,7 +93,6 @@ class config: self.config.set("server", "gzip", "1") self.config.set("server", "gziplevel", "6") self.config.set("server", "cikey", "changeme") - self.config.set("server", "cloudflare", "0") self.config.add_section("mirror") self.config.set("mirror", "url", "http://storage.ripple.moe") diff --git a/objects/glob.py b/objects/glob.py index 6788feb..2997c85 100644 --- a/objects/glob.py +++ b/objects/glob.py @@ -32,7 +32,6 @@ fileBuffers = fileBuffer.buffersList() schiavo = schiavo.schiavo() dog = datadogClient.datadogClient() verifiedCache = {} -cloudflare = False chatFilters = None userIDCache = {} pool = None diff --git a/pep.py b/pep.py index 1178101..27b33fd 100644 --- a/pep.py +++ b/pep.py @@ -208,9 +208,6 @@ if __name__ == "__main__": except: consoleHelper.printColored("[!] Error while starting Datadog client! Please check your config.ini and run the server again", bcolors.RED) - # Cloudflare memes - glob.cloudflare = generalUtils.stringToBool(glob.conf.config["server"]["cloudflare"]) - # IRC start message and console output glob.irc = generalUtils.stringToBool(glob.conf.config["irc"]["enable"]) if glob.irc: