Fix the ping plugin

This commit is contained in:
mathieui 2012-05-06 21:10:13 +02:00
parent 97486ac095
commit b37b7ec8e6

View file

@ -18,7 +18,7 @@ class Plugin(BasePlugin):
return
jid = JID(arg)
try:
delay = self.core.xmpp.plugin['xep_0199'].send_ping(jid=jid, block=False)
delay = self.core.xmpp.plugin['xep_0199'].send_ping(jid=jid)
except:
delay = None
if delay is not None: