Update geo ip misc plugin
This commit is contained in:
@@ -85,8 +85,8 @@ class IWLADisplayFilterUsers(IPlugin):
|
||||
isp = location.get('isp', '')
|
||||
str_location = ''
|
||||
city = location.get('city', unknown)
|
||||
country = location.get('countryname', unknown)
|
||||
if location.get('city', '') or location.get('countryname'):
|
||||
country = location.get('country', unknown)
|
||||
if location.get('city', '') or location.get('country', ''):
|
||||
str_location = f'{city}/{country}'
|
||||
if isp:
|
||||
if str_location: str_location += '<br/>'
|
||||
|
Reference in New Issue
Block a user