This commit is contained in:
parent
acdea1a045
commit
2643d14c63
1 changed files with 2 additions and 1 deletions
|
@ -251,7 +251,8 @@ def session(connection, client, ip, isssl=False):
|
||||||
try:
|
try:
|
||||||
identQuery = getident(client[0], client[1], isssl)
|
identQuery = getident(client[0], client[1], isssl)
|
||||||
responseee = identQuery["response"]
|
responseee = identQuery["response"]
|
||||||
if identQuery["success"]:
|
print(identQUery)
|
||||||
|
if identQuery["success"] == True:
|
||||||
connection.sendall(bytes(f":{server} NOTICE * :*** Uhm, Couldn't find your ident: {responseee}\r\n","UTF-8"))
|
connection.sendall(bytes(f":{server} NOTICE * :*** Uhm, Couldn't find your ident: {responseee}\r\n","UTF-8"))
|
||||||
else:
|
else:
|
||||||
connection.sendall(bytes(f":{server} NOTICE * :*** Got ident! {responseee}\r\n","UTF-8"))
|
connection.sendall(bytes(f":{server} NOTICE * :*** Got ident! {responseee}\r\n","UTF-8"))
|
||||||
|
|
Loading…
Add table
Reference in a new issue