summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/commands.py6
-rw-r--r--src/core/core.py6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/core/commands.py b/src/core/commands.py
index c7d900c3..5254464a 100644
--- a/src/core/commands.py
+++ b/src/core/commands.py
@@ -815,11 +815,11 @@ def command_quit(self, arg=''):
else:
msg = None
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.save_config()
self.plugin_manager.disable_plugins()
self.disconnect(msg)
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)