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