summaryrefslogtreecommitdiff
path: root/sleekxmpp/clientxmpp.py
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/clientxmpp.py')
-rw-r--r--sleekxmpp/clientxmpp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/clientxmpp.py b/sleekxmpp/clientxmpp.py
index 6a10a52f..c3963af7 100644
--- a/sleekxmpp/clientxmpp.py
+++ b/sleekxmpp/clientxmpp.py
@@ -357,8 +357,8 @@ class ClientXMPP(BaseXMPP):
xml -- The SASL authentication failure element.
"""
logging.info("Authentication failed.")
+ self.event("failed_auth", direct=True)
self.disconnect()
- self.event("failed_auth")
def _handle_bind_resource(self, xml):
"""