parent
c78241e0a3
commit
2271e22a48
1 changed files with 5 additions and 0 deletions
|
@ -115,6 +115,10 @@ with open(sys.argv[1], 'r') as file:
|
||||||
if multi_server.__class__.__name__ != "list":
|
if multi_server.__class__.__name__ != "list":
|
||||||
print("The multiserver option must be a list.")
|
print("The multiserver option must be a list.")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
try: multi_server_key = data["fernet-key"]
|
||||||
|
except:
|
||||||
|
print("Multi-Server IRCat needs a Fernet key.")
|
||||||
|
sys.exit(1)
|
||||||
file.close()
|
file.close()
|
||||||
print("Successfully loaded config!")
|
print("Successfully loaded config!")
|
||||||
for mod in modules:
|
for mod in modules:
|
||||||
|
@ -236,6 +240,7 @@ lower_chans = {} # Channel names in lowercase
|
||||||
# connection.shutdown(socket.SHUT_WR)
|
# connection.shutdown(socket.SHUT_WR)
|
||||||
# connection.close()
|
# connection.close()
|
||||||
# break
|
# break
|
||||||
|
def multiserverhost():
|
||||||
|
|
||||||
def session(connection, client, ip, isssl=False):
|
def session(connection, client, ip, isssl=False):
|
||||||
global channels_list
|
global channels_list
|
||||||
|
|
Loading…
Add table
Reference in a new issue