Added irc. subdomain to pesterchum.xyz
Because it's more convenient :3
This commit is contained in:
parent
70b1c102b8
commit
64d46a881f
2 changed files with 4 additions and 4 deletions
|
@ -3053,7 +3053,7 @@ class MainProgram(QtCore.QObject):
|
|||
|
||||
|
||||
# Tries to load the server to connect to from server.json.
|
||||
# If it fails, create json file with default of pesterchum.xyz & connect to pesterchum.xyz
|
||||
# If it fails, create json file with default of irc.pesterchum.xyz & connect to irc.pesterchum.xyz
|
||||
try:
|
||||
with open("server.json", "r") as server_file:
|
||||
read_file = server_file.read()
|
||||
|
@ -3064,13 +3064,13 @@ class MainProgram(QtCore.QObject):
|
|||
try:
|
||||
with open("server.json", "w") as server_file:
|
||||
json_server_file = {
|
||||
"server": "pesterchum.xyz",
|
||||
"server": "irc.pesterchum.xyz",
|
||||
}
|
||||
server_file.write(json.dumps(json_server_file, indent = 4) )
|
||||
server_file.close()
|
||||
except:
|
||||
pass
|
||||
self.server = "pesterchum.xyz"
|
||||
self.server = "irc.pesterchum.xyz"
|
||||
print("Server is: " + self.server)
|
||||
|
||||
def doSoundInit():
|
||||
|
|
|
@ -295,7 +295,7 @@ class userConfig(object):
|
|||
return self.parent.serverOverride
|
||||
|
||||
# This is no longer used for choosing the server.
|
||||
return self.config.get('server', "pesterchum.xyz")
|
||||
return self.config.get('server', "irc.pesterchum.xyz")
|
||||
def port(self):
|
||||
if hasattr(self.parent, 'portOverride'):
|
||||
return self.parent.portOverride
|
||||
|
|
Loading…
Reference in a new issue