checkpoitn
Some checks failed
/ check (push) Failing after 11s

This commit is contained in:
Nova Cat 2025-01-29 19:28:02 -08:00
parent c0f2b3b91c
commit 50282f850e

View file

@ -230,6 +230,7 @@ def session(connection, client, ip, isssl=False):
usesIRCv3 = False usesIRCv3 = False
CAPEND = False CAPEND = False
clident = None clident = None
pendingCommands = [] # list of commands that were executed before verification
try: try:
print("Connected to client IP: {}".format(client)) print("Connected to client IP: {}".format(client))
connection.sendall(bytes(f":{server} NOTICE * :*** Looking for your hostname...\r\n","UTF-8")) connection.sendall(bytes(f":{server} NOTICE * :*** Looking for your hostname...\r\n","UTF-8"))
@ -704,8 +705,8 @@ def session(connection, client, ip, isssl=False):
connection.sendall(bytes(f":{server} 401 {pending} {target} :No such nick/channel\r\n","UTF-8")) connection.sendall(bytes(f":{server} 401 {pending} {target} :No such nick/channel\r\n","UTF-8"))
else: else:
connection.sendall(bytes(f":{server} 461 {pending} {command} :Not enough parameters\r\n","UTF-8")) connection.sendall(bytes(f":{server} 461 {pending} {command} :Not enough parameters\r\n","UTF-8"))
else:
pendingCommands.append(text)
# Ignore empty text # Ignore empty text
elif text.split(" ")[0] == "": elif text.split(" ")[0] == "":