From 1004b10a28db7cd142da791dd679b3d8d155d186 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sat, 27 Jan 2024 22:17:26 +0100 Subject: [PATCH] created WHY2_MIN_USERNAME_LENGTH flag --- include/chat/flags.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/chat/flags.h b/include/chat/flags.h index 8d82eea..6b6ff47 100644 --- a/include/chat/flags.h +++ b/include/chat/flags.h @@ -37,6 +37,7 @@ extern "C" { #define WHY2_DEFAULT_USERNAME "anon" #define WHY2_MAX_USERNAME_LENGTH 20 //MAXIMAL USERNAME LENGTH +#define WHY2_MIN_USERNAME_LENGTH 4 //MINIMAL USERNAME LENGTH #define WHY2_MAX_USERNAME_TRIES 3 //MAXIMAL USERNAME ASK COUNT #ifdef __cplusplus