summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/handlers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/handlers.py b/src/core/handlers.py
index 8eb99cc3..6c29e7c2 100644
--- a/src/core/handlers.py
+++ b/src/core/handlers.py
@@ -1216,7 +1216,7 @@ def validate_ssl(self, pem):
self.information(_('Unable to write in the config file'), 'Error')
else:
self.information('You refused to validate the certificate. You are now disconnected', 'Info')
- self.xmpp.disconnect()
+ self.disconnect()
new_loop.stop()
asyncio.set_event_loop(old_loop)
asyncio.async(check_input(future))