summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/announce.c2
-rw-r--r--mbbsd/talk.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/announce.c b/mbbsd/announce.c
index b8c300bf..e420d6f4 100644
--- a/mbbsd/announce.c
+++ b/mbbsd/announce.c
@@ -1327,7 +1327,7 @@ void BlogMain(int num)
getdata(16, 0, "請輸入該篇的雜湊值: ",
hash, sizeof(hash), DOECHO);
for( i = 0 ; hash[i] != 0 ; ++i ) /* 前面用 getdata() 保證有 \0 */
- if( !islower(hash[i]) && !isnumber(hash[i]) )
+ if( !islower(hash[i]) && !isdigit(hash[i]) )
break;
if( i != 32 ){
vmsg("輸入錯誤");
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index dff22558..d803254f 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -2279,7 +2279,7 @@ userlist(void)
break;
case 'H':
- if (HasUserPerm(PERM_SYSOP)) {
+ if (HasUserPerm(PERM_SYSOP)||HasUserPerm(PERM_OLDSYSOP)) {
currutmp->userlevel ^= PERM_SYSOPHIDE;
redrawall = redraw = 1;
}