Archived
1
0
Fork 0
This commit is contained in:
多羅狼 2023-02-03 00:15:02 +08:00 committed by GitHub
parent 5a687a2fff
commit 717153b7d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ async def main(msg: MessageSession):
if matchserip:
try:
is_local_ip = False
if server_address == 'localhost':
if matchObj.group(1) == 'localhost':
is_local_ip = True
if matchserip.group(1) == '192':
if matchserip.group(2) == '168':