diff options
Diffstat (limited to 'mbbsd/vote.c')
-rw-r--r-- | mbbsd/vote.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/vote.c b/mbbsd/vote.c index b133ae3c..5dcaa432 100644 --- a/mbbsd/vote.c +++ b/mbbsd/vote.c @@ -872,7 +872,7 @@ user_vote_one(char *bname, int ind) setbfile(buf, bname, STR_new_limited); /* Ptt */ if (dashf(buf)) { setbfile(buf, bname, FN_CANVOTE); - if (!belong(buf, cuser->userid)) { + if (!belong(buf, cuser.userid)) { fclose(cfp); vmsg("\n\n對不起! 這是私人投票..你並沒有受邀唷!"); return FULLUPDATE; @@ -1035,7 +1035,7 @@ user_vote_one(char *bname, int ind) fprintf(fcm, "\033[36m○使用者\033[1;36m %s " "\033[;36m的建議:\033[m\n", - cuser->userid); + cuser.userid); for (i = 0; i < 3; i++) fprintf(fcm, " %s\n", mycomments[i]); fprintf(fcm, "\n"); |