diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-12 11:24:57 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-12 11:24:57 +0800 |
commit | e149e8e62b963fb11dd1adb107c0ef19cc381f6a (patch) | |
tree | 556e40cb202c28ee49dbb8ac082c0ca246d94a08 /mbbsd/user.c | |
parent | bf0ff170400889443fd3e3fffc6b1ae2b1738d68 (diff) | |
download | pttbbs-e149e8e62b963fb11dd1adb107c0ef19cc381f6a.tar pttbbs-e149e8e62b963fb11dd1adb107c0ef19cc381f6a.tar.gz pttbbs-e149e8e62b963fb11dd1adb107c0ef19cc381f6a.tar.bz2 pttbbs-e149e8e62b963fb11dd1adb107c0ef19cc381f6a.tar.lz pttbbs-e149e8e62b963fb11dd1adb107c0ef19cc381f6a.tar.xz pttbbs-e149e8e62b963fb11dd1adb107c0ef19cc381f6a.tar.zst pttbbs-e149e8e62b963fb11dd1adb107c0ef19cc381f6a.zip |
remove "proverb" function, which doesn't work for a long time
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2597 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r-- | mbbsd/user.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c index a66a21b1..5205f6e2 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -780,42 +780,6 @@ u_cloak(void) return XEASY; } -int -u_switchproverb(void) -{ - /* char *state[4]={"用功\型","安逸型","自定型","SHUTUP"}; */ - char buf[100]; - - cuser.proverb = (cuser.proverb + 1) % 4; - setuserfile(buf, fn_proverb); - if (cuser.proverb == 2 && dashd(buf)) { - FILE *fp = fopen(buf, "a"); - assert(fp); - - fprintf(fp, "座右銘狀態為[自定型]要記得設座右銘的內容唷!!"); - fclose(fp); - } - passwd_update(usernum, &cuser); - return 0; -} - -int -u_editproverb(void) -{ - char buf[100]; - - setutmpmode(PROVERB); - setuserfile(buf, fn_proverb); - move(1, 0); - clrtobot(); - outs("\n\n 請一行一行依序鍵入想系統提醒你的內容,\n" - " 儲存後記得把狀態設為 [自定型] 才有作用\n" - " 座右銘最多100條"); - pressanykey(); - vedit(buf, NA, NULL); - return 0; -} - void showplans(char *uid) { |