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 return
jid = JID(arg) jid = JID(arg)
try: 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: except:
delay = None delay = None
if delay is not None: if delay is not None: