parent
87ecce7631
commit
7d787fddb4
1 changed files with 2 additions and 2 deletions
|
@ -365,9 +365,9 @@ def session(connection, client, ip, isssl=False):
|
||||||
try:
|
try:
|
||||||
e = text.split(" ")[1]
|
e = text.split(" ")[1]
|
||||||
e = f":{e}" if e[0] != ":" else e
|
e = f":{e}" if e[0] != ":" else e
|
||||||
pendingSend += ":{server} PONG {server} {e}\r\n"
|
pendingSend += f":{server} PONG {server} {e}\r\n"
|
||||||
except:
|
except:
|
||||||
pendingSend += ":{server} PONG {server}\r\n"
|
pendingSend += f":{server} PONG {server}\r\n"
|
||||||
elif command == "MOTD":
|
elif command == "MOTD":
|
||||||
if motd_file != None:
|
if motd_file != None:
|
||||||
motd = open(motd_file).read()
|
motd = open(motd_file).read()
|
||||||
|
|
Loading…
Add table
Reference in a new issue