Update server.py

This commit is contained in:
Nova Cat 2025-02-05 19:27:51 -08:00
parent ae766b5b1c
commit 59a7dce826

View file

@ -32,7 +32,7 @@ def isalphanumeric(text:str, channel=False):
return True
def getident(hostt:str, clientport:int, ssll:bool):
try:
identsender = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
identsender = socket.socket((socket.AF_INET if ":" in hostt else socket.AF_INET6), socket.SOCK_STREAM)
identsender.settimeout(2)
responsee = ""
try: