From be913f8f2717e3889a3b5181dd6743c5874274a2 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 7 May 2005 14:46:21 +0000 Subject: [PATCH] xmpp patch from alexey: fix auth problem --- src/common/xmpp/auth.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/xmpp/auth.py b/src/common/xmpp/auth.py index 898a9c654..545be5bb0 100644 --- a/src/common/xmpp/auth.py +++ b/src/common/xmpp/auth.py @@ -98,6 +98,9 @@ class SASL(PlugIn): """ Implements SASL authentication. """ def plugin(self,owner): if not self._owner.Dispatcher.Stream._document_attrs.has_key('version'): self.startsasl='not-supported' + elif self._owner.Dispatcher.Stream.features: + try: self.FeaturesHandler(self._owner.Dispatcher,self._owner.Dispatcher.Stream.features) + except NodeProcessed: pass else: self.startsasl=None def auth(self,username,password):