SASL authentication, don't offer SASL as a stream feature
again. This causes the client to attempt re-authentication
and/or go into an error condition.
cprintf("<session xmlns=\"urn:ietf:params:xml:ns:xmpp-session\"/>");
/* A really bad SASL implementation... */
- xmpp_output_auth_mechs();
+ if (!CC->logged_in) {
+ xmpp_output_auth_mechs();
+ }
/* ...and the ability to close XML tags using angle brackets. We should patent this. */
cprintf("</stream:features>");