.BANCHO. .HIDE. Remove cloudflare option in config.ini
This commit is contained in:
parent
0a53b31e42
commit
abc8e058a1
|
@ -42,7 +42,6 @@ class config:
|
||||||
self.config.get("server","gzip")
|
self.config.get("server","gzip")
|
||||||
self.config.get("server","gziplevel")
|
self.config.get("server","gziplevel")
|
||||||
self.config.get("server","cikey")
|
self.config.get("server","cikey")
|
||||||
self.config.get("server","cloudflare")
|
|
||||||
|
|
||||||
self.config.get("mirror","url")
|
self.config.get("mirror","url")
|
||||||
self.config.get("mirror","apikey")
|
self.config.get("mirror","apikey")
|
||||||
|
@ -94,7 +93,6 @@ class config:
|
||||||
self.config.set("server", "gzip", "1")
|
self.config.set("server", "gzip", "1")
|
||||||
self.config.set("server", "gziplevel", "6")
|
self.config.set("server", "gziplevel", "6")
|
||||||
self.config.set("server", "cikey", "changeme")
|
self.config.set("server", "cikey", "changeme")
|
||||||
self.config.set("server", "cloudflare", "0")
|
|
||||||
|
|
||||||
self.config.add_section("mirror")
|
self.config.add_section("mirror")
|
||||||
self.config.set("mirror", "url", "http://storage.ripple.moe")
|
self.config.set("mirror", "url", "http://storage.ripple.moe")
|
||||||
|
|
|
@ -32,7 +32,6 @@ fileBuffers = fileBuffer.buffersList()
|
||||||
schiavo = schiavo.schiavo()
|
schiavo = schiavo.schiavo()
|
||||||
dog = datadogClient.datadogClient()
|
dog = datadogClient.datadogClient()
|
||||||
verifiedCache = {}
|
verifiedCache = {}
|
||||||
cloudflare = False
|
|
||||||
chatFilters = None
|
chatFilters = None
|
||||||
userIDCache = {}
|
userIDCache = {}
|
||||||
pool = None
|
pool = None
|
||||||
|
|
3
pep.py
3
pep.py
|
@ -208,9 +208,6 @@ if __name__ == "__main__":
|
||||||
except:
|
except:
|
||||||
consoleHelper.printColored("[!] Error while starting Datadog client! Please check your config.ini and run the server again", bcolors.RED)
|
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
|
# IRC start message and console output
|
||||||
glob.irc = generalUtils.stringToBool(glob.conf.config["irc"]["enable"])
|
glob.irc = generalUtils.stringToBool(glob.conf.config["irc"]["enable"])
|
||||||
if glob.irc:
|
if glob.irc:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user