plugin ip: don't set to anymore for IQ stanza, as we send it to our server
This commit is contained in:
parent
b6d26f3a67
commit
4bc90ee0bc
1 changed files with 0 additions and 1 deletions
|
|
@ -274,7 +274,6 @@ class IPPlugin(object):
|
||||||
if ip_check:
|
if ip_check:
|
||||||
log.debug("Server IP Check available, we use it to retrieve our IP")
|
log.debug("Server IP Check available, we use it to retrieve our IP")
|
||||||
iq_elt = client.IQ("get")
|
iq_elt = client.IQ("get")
|
||||||
iq_elt['to'] = client.host
|
|
||||||
iq_elt.addElement((NS_IP_CHECK, "address"))
|
iq_elt.addElement((NS_IP_CHECK, "address"))
|
||||||
try:
|
try:
|
||||||
result_elt = yield iq_elt.send()
|
result_elt = yield iq_elt.send()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue