summaryrefslogtreecommitdiff
path: root/src/core/core.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-07-30 17:26:39 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-07-30 17:35:21 +0200
commit39c8319ec4c155e7323429ccbf56984d85a195a6 (patch)
treee54573393afa37a2e3274f8a1a7211352dc70094 /src/core/core.py
parentecf22cb4a4261b1fbbe893a0ec1bf185fcc02db8 (diff)
downloadpoezio-39c8319ec4c155e7323429ccbf56984d85a195a6.tar.gz
poezio-39c8319ec4c155e7323429ccbf56984d85a195a6.tar.bz2
poezio-39c8319ec4c155e7323429ccbf56984d85a195a6.tar.xz
poezio-39c8319ec4c155e7323429ccbf56984d85a195a6.zip
Fix a bunch of iq.send() by removing the `block` argument
Diffstat (limited to 'src/core/core.py')
-rw-r--r--src/core/core.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/core.py b/src/core/core.py
index feccd01c..c2996b5d 100644
--- a/src/core/core.py
+++ b/src/core/core.py
@@ -423,11 +423,11 @@ class Core(object):
log.error("%s received. Exiting…", signals[sig])
if config.get('enable_user_mood', True):
- self.xmpp.plugin['xep_0107'].stop(block=False)
+ self.xmpp.plugin['xep_0107'].stop()
if config.get('enable_user_activity', True):
- self.xmpp.plugin['xep_0108'].stop(block=False)
+ self.xmpp.plugin['xep_0108'].stop()
if config.get('enable_user_gaming', True):
- self.xmpp.plugin['xep_0196'].stop(block=False)
+ self.xmpp.plugin['xep_0196'].stop()
self.plugin_manager.disable_plugins()
self.disconnect('%s received' % signals.get(sig))
self.xmpp.add_event_handler("disconnected", self.exit, disposable=True)