summaryrefslogtreecommitdiff
path: root/plugins/uptime.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/uptime.py')
-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)