summaryrefslogtreecommitdiffstats
path: root/mbbsd/talk.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-13 22:15:54 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-13 22:15:54 +0800
commita1e7b5668d77a5930d09f6ed39099c87e781f829 (patch)
tree7b1aed76565a3111127d978d9d6443e753fdc89a /mbbsd/talk.c
parenta3b37ce828a5d6ec07f621b367c46f21c6df58e9 (diff)
downloadpttbbs-a1e7b5668d77a5930d09f6ed39099c87e781f829.tar
pttbbs-a1e7b5668d77a5930d09f6ed39099c87e781f829.tar.gz
pttbbs-a1e7b5668d77a5930d09f6ed39099c87e781f829.tar.bz2
pttbbs-a1e7b5668d77a5930d09f6ed39099c87e781f829.tar.lz
pttbbs-a1e7b5668d77a5930d09f6ed39099c87e781f829.tar.xz
pttbbs-a1e7b5668d77a5930d09f6ed39099c87e781f829.tar.zst
pttbbs-a1e7b5668d77a5930d09f6ed39099c87e781f829.zip
* does not allow guest to change mind
* set default guest mind to empty string git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4596 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r--mbbsd/talk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 28873ce5..c3ed6b0b 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -2835,7 +2835,8 @@ userlist(void)
}
break;
- case 'i':{
+ case 'i':
+ if (HasUserPerm(PERM_BASIC|PERM_LOGINOK)) {
char mindbuf[5];
getdata(b_lines - 1, 0, "現在的心情? ",
mindbuf, sizeof(mindbuf), DOECHO);