diff options
author | James Booth <boothj5@gmail.com> | 2014-04-26 22:52:25 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-04-26 22:52:25 +0100 |
commit | aff9eee4331a49cabdf9f64e7e03ec3e781c991c (patch) | |
tree | f4ba3e5f08c70e822d34e7dad190b29d99f47187 /src/command | |
parent | 06d81ed9ce7808a23267718ad24c32f957d95109 (diff) | |
download | profani-tty-aff9eee4331a49cabdf9f64e7e03ec3e781c991c.tar.gz |
Handle SMP secret response
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/commands.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/commands.c b/src/command/commands.c index 915fbe17..3b066cf7 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -2800,8 +2800,8 @@ cmd_otr(gchar **args, struct cmd_help_t help) cons_show("Usage: %s", help.usage); } else { char *recipient = ui_current_recipient(); - otr_smp_init_secret(recipient, secret); - ui_current_print_formatted_line('!', 0, "OTR secret entered", secret); + otr_smp_secret(recipient, secret); + ui_current_print_formatted_line('!', 0, "OTR secret entered"); } } return TRUE; |