summaryrefslogtreecommitdiff
path: root/sleekxmpp/features
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2014-05-16 08:43:26 -0700
committerLance Stout <lancestout@gmail.com>2014-05-16 08:43:26 -0700
commit6ecc39b816b3ebf67922939748323164e89672d9 (patch)
treef1f718459f4bda68b02b96fbea7633d8f4f36617 /sleekxmpp/features
parentef2f5d29788218f679cd878e4e25bbd61545fef4 (diff)
parenta918bf3a95f9accc7272edea4fe4fdab705a0b17 (diff)
downloadslixmpp-6ecc39b816b3ebf67922939748323164e89672d9.tar.gz
slixmpp-6ecc39b816b3ebf67922939748323164e89672d9.tar.bz2
slixmpp-6ecc39b816b3ebf67922939748323164e89672d9.tar.xz
slixmpp-6ecc39b816b3ebf67922939748323164e89672d9.zip
Merge pull request #292 from 4gra/develop
Fix support for jabberd2 with GSSAPI
Diffstat (limited to 'sleekxmpp/features')
-rw-r--r--sleekxmpp/features/feature_mechanisms/mechanisms.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sleekxmpp/features/feature_mechanisms/mechanisms.py b/sleekxmpp/features/feature_mechanisms/mechanisms.py
index f71a9c25..17ad5ed0 100644
--- a/sleekxmpp/features/feature_mechanisms/mechanisms.py
+++ b/sleekxmpp/features/feature_mechanisms/mechanisms.py
@@ -215,6 +215,8 @@ class FeatureMechanisms(BasePlugin):
self.attempted_mechs.add(self.mech.name)
self.xmpp.disconnect()
else:
+ if resp.get_value() == '':
+ resp.del_value()
resp.send(now=True)
def _handle_success(self, stanza):