diff options
author | Jari Matilainen <jari.matilainen@gmail.com> | 2015-09-29 10:39:49 +0200 |
---|---|---|
committer | Jari Matilainen <jari.matilainen@gmail.com> | 2015-09-29 10:39:49 +0200 |
commit | cff536ab7091e79747352ff1f1d1d832870b2fb4 (patch) | |
tree | 644258c3b55f8dc3591c4c70fd9c635e95f096ee /src/fe-common/irc/fe-ircnet.c | |
parent | 3e4926d87bb1f5a54d188a2cb6b15f223e01c444 (diff) | |
download | irssi-cff536ab7091e79747352ff1f1d1d832870b2fb4.zip |
Add sasl info to /network list output if available
Diffstat (limited to 'src/fe-common/irc/fe-ircnet.c')
-rw-r--r-- | src/fe-common/irc/fe-ircnet.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fe-common/irc/fe-ircnet.c b/src/fe-common/irc/fe-ircnet.c index dab6f57f..c341081a 100644 --- a/src/fe-common/irc/fe-ircnet.c +++ b/src/fe-common/irc/fe-ircnet.c @@ -56,6 +56,11 @@ 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) { + g_string_append_printf(str, "sasl_mechanism: %s, ", rec->sasl_mechanism); + g_string_append_printf(str, "sasl_username: %s, ", rec->sasl_username); + 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); |