summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 090c887a..ee606059 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -1048,13 +1048,8 @@ start_client()
login_query(); /* Ptt 加上login time out */
m_init(); /* init the user mail path */
user_login();
+ auto_close_polls(); /* 自動開票 */
- if (now - SHM->close_vote_time > 86400)
- //改為一天一次
- {
- b_closepolls();
- SHM->close_vote_time = now;
- }
Signal(SIGALRM, SIG_IGN);
domenu(MMENU, "主功\能表", (currutmp->mailalert ? 'M' : 'C'), cmdlist);