Update __init__.py
This commit is contained in:
parent
0cc0184a2b
commit
5a687a2fff
1 changed files with 1 additions and 1 deletions
|
@ -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':
|
||||
|
|
Reference in a new issue