diff options
author | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2015-09-29 12:00:44 +0200 |
---|---|---|
committer | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2015-09-29 12:00:44 +0200 |
commit | fb6375c6f9c1191590420482aea634644aa228eb (patch) | |
tree | dcc79235f94b937517ec6d4b914f28958b33f0e4 /src | |
parent | 3e4926d87bb1f5a54d188a2cb6b15f223e01c444 (diff) | |
parent | b04b5f0f1d03be6282f7ba835b8a4f29b18b9c69 (diff) | |
download | irssi-fb6375c6f9c1191590420482aea634644aa228eb.zip |
Merge pull request #308 from vague666/sasl_in_network_list
Add sasl info to /network list output if available
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/irc/fe-ircnet.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/fe-common/irc/fe-ircnet.c b/src/fe-common/irc/fe-ircnet.c index dab6f57f..bb0af313 100644 --- a/src/fe-common/irc/fe-ircnet.c +++ b/src/fe-common/irc/fe-ircnet.c @@ -56,7 +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_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) |