Allow the user to set and modify the SASL parameters

The /NETWORK ADD command now is able to modify the SASL mechanism, the
username and the password on a chatnet basis.
This commit is contained in:
LemonBoy 2015-09-26 18:53:10 +02:00
commit 1a2c479bc0
4 changed files with 34 additions and 10 deletions

View file

@ -81,7 +81,7 @@ static void sig_server_setup_fill_chatnet(IRC_SERVER_CONNECT_REC *conn,
if (ircnet->max_query_chans > 0)
conn->max_query_chans = ircnet->max_query_chans;
/* Validate the SASL parameters filled by sig_chatnet_read() */
/* Validate the SASL parameters filled by sig_chatnet_read() or cmd_network_add */
conn->sasl_mechanism = SASL_MECHANISM_NONE;
if (ircnet->sasl_mechanism != NULL) {