summaryrefslogtreecommitdiff
path: root/plugins/uptime.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/uptime.py')
-rw-r--r--plugins/uptime.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/uptime.py b/plugins/uptime.py
index 2b171703..dbeb6a63 100644
--- a/plugins/uptime.py
+++ b/plugins/uptime.py
@@ -13,7 +13,7 @@ Command
"""
from plugin import BasePlugin
from common import parse_secs_to_str, safeJID
-from sleekxmpp.xmlstream import ET
+from slixmpp.xmlstream import ET
class Plugin(BasePlugin):
def init(self):
@@ -33,4 +33,4 @@ class Plugin(BasePlugin):
return
iq = self.core.xmpp.makeIqGet(ito=jid.server)
iq.append(ET.Element('{jabber:iq:last}query'))
- iq.send(block=False, callback=callback)
+ iq.send(callback=callback)