Archived
1
0
Fork 0

Update __init__.py

This commit is contained in:
多羅狼 2023-02-03 00:11:32 +08:00 committed by GitHub
parent 0cc0184a2b
commit 5a687a2fff
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 address == 'localhost':
if server_address == 'localhost':
is_local_ip = True
if matchserip.group(1) == '192':
if matchserip.group(2) == '168':