diff options
author | Jari Matilainen <jari.matilainen@gmail.com> | 2015-09-29 11:44:11 +0200 |
---|---|---|
committer | Jari Matilainen <jari.matilainen@gmail.com> | 2015-09-29 11:44:11 +0200 |
commit | b04b5f0f1d03be6282f7ba835b8a4f29b18b9c69 (patch) | |
tree | dcc79235f94b937517ec6d4b914f28958b33f0e4 /src/fe-common/irc/fe-ircnet.c | |
parent | cff536ab7091e79747352ff1f1d1d832870b2fb4 (diff) | |
download | irssi-b04b5f0f1d03be6282f7ba835b8a4f29b18b9c69.zip |
Make sure sasl settings are defined before printing them out
Diffstat (limited to 'src/fe-common/irc/fe-ircnet.c')
-rw-r--r-- | src/fe-common/irc/fe-ircnet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fe-common/irc/fe-ircnet.c b/src/fe-common/irc/fe-ircnet.c index c341081a..bb0af313 100644 --- a/src/fe-common/irc/fe-ircnet.c +++ b/src/fe-common/irc/fe-ircnet.c @@ -56,12 +56,12 @@ static void cmd_network_list(void) g_string_append_printf(str, "autosendcmd: %s, ", rec->autosendcmd); if (rec->usermode != NULL) g_string_append_printf(str, "usermode: %s, ", rec->usermode); - if (rec->sasl_username != NULL) { + if (rec->sasl_mechanism != NULL) g_string_append_printf(str, "sasl_mechanism: %s, ", rec->sasl_mechanism); + if (rec->sasl_username != NULL) g_string_append_printf(str, "sasl_username: %s, ", rec->sasl_username); + if (rec->sasl_password != NULL) g_string_append_printf(str, "sasl_password: (pass), "); - } - if (rec->cmd_queue_speed > 0) g_string_append_printf(str, "cmdspeed: %d, ", rec->cmd_queue_speed); if (rec->max_cmds_at_once > 0) |