summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmpp/stream_pair.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp/stream_pair.go b/xmpp/stream_pair.go
index 8ec06a6..5674d7b 100644
--- a/xmpp/stream_pair.go
+++ b/xmpp/stream_pair.go
@@ -94,7 +94,7 @@ func closeStream(s *session) {
func streamFeaturesHandler(s *session, e []xml.Token) {
sasl := hasSaslPlain(e)
if sasl {
- log.Println("Stream is compatible with SASL PLAIN mechanism")
+ s.sasl()
} else {
log.Println("Stream is not compatible with SASL PLAIN mechanism!")
}