Fix own_host in ping plugin

This commit is contained in:
Lance Stout 2014-06-07 20:06:17 -07:00
parent d94dd486fe
commit 230a73fad2

View file

@ -154,6 +154,7 @@ class XEP_0199(BasePlugin):
timeout -- Time in seconds to wait for a response.
Defaults to self.timeout.
"""
own_host = False
if not jid:
if self.xmpp.is_component:
jid = self.xmpp.server