From dc7d99fa738417b5508845745067862e18a7c963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 4 Nov 2018 14:38:27 +0100 Subject: [PATCH] core: improve description of infos "totp_generate" and ""totp_validate" --- src/plugins/plugin-api-info.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/plugin-api-info.c b/src/plugins/plugin-api-info.c index e930479e0..ebe941f14 100644 --- a/src/plugins/plugin-api-info.c +++ b/src/plugins/plugin-api-info.c @@ -1731,14 +1731,14 @@ plugin_api_info_init () N_("generate a Time-based One-Time Password (TOTP)"), N_("secret (in base32), timestamp (optional, current time by " "default), number of digits (optional, between 4 and 10, " - "6 is default and recommended value)"), + "6 by default)"), &plugin_api_info_totp_generate_cb, NULL, NULL); hook_info (NULL, "totp_validate", N_("validate a Time-based One-Time Password (TOTP): 1 if TOTP " "is correct, otherwise 0"), N_("secret (in base32), one-time password, " - "timestamp (optional), number of OTP after/before to test " - "(optional, 0 by default)"), + "timestamp (optional, current time by default), number of " + "passwords before/after to test (optional, 0 by default)"), &plugin_api_info_totp_validate_cb, NULL, NULL); /* WeeChat core infolist hooks */