diff options
author | James Booth <boothj5@gmail.com> | 2014-01-11 15:48:22 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-01-11 15:48:22 +0000 |
commit | 5c13538e6b71cc0d1f5fe49017a99dceecfd007a (patch) | |
tree | 52df71b98b2cab1315853be146585e260e996b09 /src/command/commands.c | |
parent | df8c7dedc12b05d29d759e54637c0cbeb37f54fd (diff) | |
download | profani-tty-5c13538e6b71cc0d1f5fe49017a99dceecfd007a.tar.gz |
Load OTR private key on connect, gen command checks if already generated
Diffstat (limited to 'src/command/commands.c')
-rw-r--r-- | src/command/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/commands.c b/src/command/commands.c index cb38d934..649c084e 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -2294,7 +2294,7 @@ cmd_otr(gchar **args, struct cmd_help_t help) if (strcmp(args[0], "gen") == 0) { ProfAccount *account = accounts_get_account(jabber_get_account_name()); - otr_account_load(account); + otr_keygen(account); return TRUE; } else if (strcmp(args[0], "fp") == 0) { char *fingerprint = otr_get_fingerprint(); |