summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index ff982ae7..1eda5eb6 100644
--- a/src/core.py
+++ b/src/core.py
@@ -614,7 +614,6 @@ class Core(object):
parts of the client (for example, set the MucTabs as not joined, etc)
"""
msg = msg or ''
- self.save_config()
self.xmpp.disconnect()
if reconnect:
self.xmpp.start()
@@ -2321,6 +2320,7 @@ class Core(object):
self.xmpp.plugin['xep_0108'].stop(block=False)
if config.get('enable_user_gaming', 'true') != 'false':
self.xmpp.plugin['xep_0196'].stop(block=False)
+ self.save_config()
self.plugin_manager.disable_plugins()
self.disconnect(msg)
self.running = False