mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 00:52:30 +02:00
Add sasl info to /network list output if available
This commit is contained in:
parent
3e4926d87b
commit
cff536ab70
1 changed files with 5 additions and 0 deletions
|
|
@ -56,6 +56,11 @@ static void cmd_network_list(void)
|
||||||
g_string_append_printf(str, "autosendcmd: %s, ", rec->autosendcmd);
|
g_string_append_printf(str, "autosendcmd: %s, ", rec->autosendcmd);
|
||||||
if (rec->usermode != NULL)
|
if (rec->usermode != NULL)
|
||||||
g_string_append_printf(str, "usermode: %s, ", rec->usermode);
|
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)
|
if (rec->cmd_queue_speed > 0)
|
||||||
g_string_append_printf(str, "cmdspeed: %d, ", rec->cmd_queue_speed);
|
g_string_append_printf(str, "cmdspeed: %d, ", rec->cmd_queue_speed);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue