From 12b5d6cee2cffa9f4c578fc91c716bfba558c463 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sun, 26 Dec 2021 20:22:36 +0200 Subject: [PATCH 45/45] fcdb: Correct user_verify() documentation script_fcdb_functions_define() function header documents the API. Update it. See osdn #43465 Signed-off-by: Marko Lindqvist --- server/scripting/script_fcdb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/scripting/script_fcdb.c b/server/scripting/script_fcdb.c index fed5a9d12b..88125bebf1 100644 --- a/server/scripting/script_fcdb.c +++ b/server/scripting/script_fcdb.c @@ -84,16 +84,16 @@ static struct fc_lua *fcl = NULL; Add fcdb callback functions; these must be defined in the lua script 'database.lua': - database_init: + database_init(): - test and initialise the database. - database_free: + database_free(): - free the database. user_exists(Connection pconn): - Check if the user exists. user_save(Connection pconn, String password): - Save a new user. - user_verify(Connection pconn): + user_verify(Connection pconn, String plaintext): - Check the credentials of the user. user_log(Connection pconn, Bool success): - check if the login attempt was successful logged. -- 2.34.1