about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
Diffstat (limited to 'src/command')
-rw-r--r--src/command/commands.c4
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;