summaryrefslogtreecommitdiffstats
path: root/mbbsd/passwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/passwd.c')
-rw-r--r--mbbsd/passwd.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/mbbsd/passwd.c b/mbbsd/passwd.c
index 0446ddf2..d0dd4015 100644
--- a/mbbsd/passwd.c
+++ b/mbbsd/passwd.c
@@ -69,6 +69,14 @@ passwd_update_money(int num)
return 0;
}
+void
+passwd_force_update(int flag)
+{
+ if(!currutmp || (currutmp->alerts & ALERT_PWD) == 0)
+ return;
+ currutmp->alerts &= ~flag;
+}
+
int
passwd_update(int num, userec_t * buf)
{