summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-02-09 08:58:00 -0500
committerLance Stout <lancestout@gmail.com>2011-02-09 08:58:00 -0500
commit145f577bde699f9f732348983d55169bbdaf733e (patch)
treede8521884dd573660250df11fbc935cbf8228bc4 /sleekxmpp/plugins
parent30da68f47bb35e67739063bea47679b9a777b16b (diff)
downloadslixmpp-145f577bde699f9f732348983d55169bbdaf733e.tar.gz
slixmpp-145f577bde699f9f732348983d55169bbdaf733e.tar.bz2
slixmpp-145f577bde699f9f732348983d55169bbdaf733e.tar.xz
slixmpp-145f577bde699f9f732348983d55169bbdaf733e.zip
Fix get_items default behaviour.
Diffstat (limited to 'sleekxmpp/plugins')
-rw-r--r--sleekxmpp/plugins/xep_0030/disco.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0030/disco.py b/sleekxmpp/plugins/xep_0030/disco.py
index a976b988..26d6ec37 100644
--- a/sleekxmpp/plugins/xep_0030/disco.py
+++ b/sleekxmpp/plugins/xep_0030/disco.py
@@ -318,7 +318,7 @@ class xep_0030(base_plugin):
return self.xmpp['xep_0059'].iterate(iq, 'disco_items')
else:
return iq.send(timeout=kwargs.get('timeout', None),
- block=kwargs.get('block', None),
+ block=kwargs.get('block', True),
callback=kwargs.get('callback', None))
def set_items(self, jid=None, node=None, **kwargs):