core (main): renamed hasFeature to has_feature to fix inconsistency.
This commit is contained in:
parent
b816dc5e54
commit
0a42dd3da3
1 changed files with 8 additions and 8 deletions
|
|
@ -268,7 +268,7 @@ class IPPlugin(object):
|
|||
return self._external_ip_cache
|
||||
|
||||
# we first try with XEP-0279
|
||||
ip_check = await self.host.hasFeature(client, NS_IP_CHECK)
|
||||
ip_check = await self.host.has_feature(client, NS_IP_CHECK)
|
||||
if ip_check:
|
||||
log.debug("Server IP Check available, we use it to retrieve our IP")
|
||||
iq_elt = client.IQ("get")
|
||||
|
|
|
|||
Loading…
Reference in a new issue