summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2015-02-18 22:33:17 +0100
committermathieui <mathieui@mathieui.net>2015-02-18 22:33:17 +0100
commit60231c27c7f2d7c7258d2144fd3dae99bf846047 (patch)
tree940645f8ba49ec91d343daf4da39a480f156d776
parentc9a89dad87ca3fc7786fc6280397e3f43e894171 (diff)
downloadpoezio-60231c27c7f2d7c7258d2144fd3dae99bf846047.tar.gz
poezio-60231c27c7f2d7c7258d2144fd3dae99bf846047.tar.bz2
poezio-60231c27c7f2d7c7258d2144fd3dae99bf846047.tar.xz
poezio-60231c27c7f2d7c7258d2144fd3dae99bf846047.zip
Fix the uptime plugin
(slixmpp update)
-rw-r--r--plugins/uptime.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/uptime.py b/plugins/uptime.py
index dbeb6a63..a36274e6 100644
--- a/plugins/uptime.py
+++ b/plugins/uptime.py
@@ -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)