Fix the uptime plugin

(slixmpp update)
This commit is contained in:
mathieui 2015-02-18 22:33:17 +01:00
parent c9a89dad87
commit 60231c27c7
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -31,6 +31,6 @@ class Plugin(BasePlugin):
jid = safeJID(arg)
if not jid.server:
return
iq = self.core.xmpp.makeIqGet(ito=jid.server)
iq = self.core.xmpp.make_iq_get(ito=jid.server)
iq.append(ET.Element('{jabber:iq:last}query'))
iq.send(callback=callback)