summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/user.c5
-rw-r--r--mbbsd/var.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index bcb4978c..92714cb4 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -1221,6 +1221,11 @@ u_register(void)
getdata(10, 0, "您的輸入: ", inregcode, sizeof(inregcode), DOECHO);
if (strcmp(inregcode, getregcode(regcode)) == 0) {
int unum;
+ if (cuser.userlevel & PERM_NOREGCODE) {
+ prints("您不被允許以認證碼在本站認證,請改用手動認證。\n按任意鍵離站。");
+ pressanykey();
+ exit(0);
+ }
if ((unum = getuser(cuser.userid)) == 0) {
outs("系統錯誤,查無此人\n\n");
pressanykey();
diff --git a/mbbsd/var.c b/mbbsd/var.c
index a101247c..a591652f 100644
--- a/mbbsd/var.c
+++ b/mbbsd/var.c
@@ -22,7 +22,7 @@ char *str_permid[] = {
"不列入排行榜", /* PERM_NOTOP */
"違法通緝中", /* PERM_VIOLATELAW */
"不接受站外的信", /* PERM_ */
- "沒想到", /* PERM_ */
+ "不允許認證碼註冊", /* PERM_NOREGCODE */
"視覺站長", /* PERM_VIEWSYSOP */
"觀察使用者行蹤", /* PERM_LOGUSER */
"精華區總整理權", /* PERM_Announce */