defined asking_password functions

This commit is contained in:
Václav Šmejkal 2024-09-01 20:50:46 +02:00
parent 5daf4f2375
commit 357f73ae69
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -17,3 +17,15 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
#include <why2/chat/flags.h> #include <why2/chat/flags.h>
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;
}