summaryrefslogtreecommitdiffstats
path: root/mbbsd/passwd.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-03-08 00:01:56 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-03-08 00:01:56 +0800
commit1812d5521f71bf6726cd959308cb4628c5a1951c (patch)
treef61c5be32e335668ddddeca1e28459605a220b6c /mbbsd/passwd.c
parent80d861dff5d757ef5827054a0633fdbe56ff356a (diff)
downloadpttbbs-1812d5521f71bf6726cd959308cb4628c5a1951c.tar
pttbbs-1812d5521f71bf6726cd959308cb4628c5a1951c.tar.gz
pttbbs-1812d5521f71bf6726cd959308cb4628c5a1951c.tar.bz2
pttbbs-1812d5521f71bf6726cd959308cb4628c5a1951c.tar.lz
pttbbs-1812d5521f71bf6726cd959308cb4628c5a1951c.tar.xz
pttbbs-1812d5521f71bf6726cd959308cb4628c5a1951c.tar.zst
pttbbs-1812d5521f71bf6726cd959308cb4628c5a1951c.zip
- register: Regform2 API prototype (for concurrent registration form validation) [not applied yet]
- file/passwd/assess: API finetune - menu: menu item finetune git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3975 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
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)
{