summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-02 23:42:28 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-02 23:42:28 +0800
commit4b23515004b96426b06646ca37b6475c0eaf37e5 (patch)
tree11cc980288f2b4efb6eb93800da46a0b371b326b /mbbsd/mbbsd.c
parent11dd289ca94895698659e94a462457c75733331b (diff)
downloadpttbbs-4b23515004b96426b06646ca37b6475c0eaf37e5.tar
pttbbs-4b23515004b96426b06646ca37b6475c0eaf37e5.tar.gz
pttbbs-4b23515004b96426b06646ca37b6475c0eaf37e5.tar.bz2
pttbbs-4b23515004b96426b06646ca37b6475c0eaf37e5.tar.lz
pttbbs-4b23515004b96426b06646ca37b6475c0eaf37e5.tar.xz
pttbbs-4b23515004b96426b06646ca37b6475c0eaf37e5.tar.zst
pttbbs-4b23515004b96426b06646ca37b6475c0eaf37e5.zip
let no PERM_LOGIN user read the mail before fill the register form.
dont check length of nick, address, blahblah every time. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1576 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 472d8566..9e135c76 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -845,7 +845,7 @@ inline static void record_lasthost(char *fromhost, int len){
cuser.lasthost[len - 1] = '\0';
}
-inline static void check_mailbox_and_read(void){
+inline static void check_mailbox_quota(void){
if (chkmailbox())
m_read();
}
@@ -968,7 +968,7 @@ user_login()
birthday_make_a_wish(ptime, tmp);
check_bad_login();
- check_mailbox_and_read();
+ check_mailbox_quota();
check_register();
record_lasthost(fromhost, 16);
restore_backup();
@@ -977,7 +977,7 @@ user_login()
pressanykey();
} else {
pressanykey();
- check_mailbox_and_read();
+ check_mailbox_quota();
}
if (!PERM_HIDE(currutmp))