From 357f73ae69ccb7f6acf434163a7b07c0ccdbde72 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sun, 1 Sep 2024 20:50:46 +0200 Subject: [PATCH] defined asking_password functions --- src/chat/flags.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/chat/flags.c b/src/chat/flags.c index 09ceb73..731af2e 100644 --- a/src/chat/flags.c +++ b/src/chat/flags.c @@ -16,4 +16,16 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include \ No newline at end of file +#include + +unsigned char asking_password_flag = 0; + +void __why2_set_asking_password(unsigned char asking_password) +{ + asking_password_flag = asking_password; +} + +void __why2_reset_asking_password() +{ + asking_password_flag = 0; +} \ No newline at end of file