summaryrefslogtreecommitdiffstats
path: root/mbbsd/vote.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/vote.c')
-rw-r--r--mbbsd/vote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/vote.c b/mbbsd/vote.c
index c5e7bd6a..a12fadfe 100644
--- a/mbbsd/vote.c
+++ b/mbbsd/vote.c
@@ -1080,7 +1080,7 @@ user_vote(const char *bname)
#if 0 // convert the filenames of first vote
convert_first_vote(fhp);
#endif
- if (!HAS_PERM(PERM_LOGINOK)) {
+ if (!HasUserPerm(PERM_LOGINOK)) {
vmsg("對不起! 您未滿二十歲, 還沒有投票權喔!");
return FULLUPDATE;
}