defined asking_password functions
This commit is contained in:
parent
5daf4f2375
commit
357f73ae69
@ -16,4 +16,16 @@ You should have received a copy of the GNU General Public License
|
|||||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
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;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user