summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-05-14 03:27:53 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-05-14 03:27:53 +0800
commit41d98092590000461272203026766702d624fa99 (patch)
tree305b07b6efce7bcf029a54405a3317b9f39e6e23
parent9671494643c68203da5fcf777a3c61720d29000a (diff)
downloadpttbbs-41d98092590000461272203026766702d624fa99.tar
pttbbs-41d98092590000461272203026766702d624fa99.tar.gz
pttbbs-41d98092590000461272203026766702d624fa99.tar.bz2
pttbbs-41d98092590000461272203026766702d624fa99.tar.lz
pttbbs-41d98092590000461272203026766702d624fa99.tar.xz
pttbbs-41d98092590000461272203026766702d624fa99.tar.zst
pttbbs-41d98092590000461272203026766702d624fa99.zip
- fix angel give_money anonymous default option bug
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4308 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/cal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c
index ee39fd83..23520a33 100644
--- a/mbbsd/cal.c
+++ b/mbbsd/cal.c
@@ -476,7 +476,7 @@ give_money_ui(const char *userid)
char yn[3];
outs("他是你的小主人,是否匿名?[Y/n]: ");
vgets(yn, sizeof(yn), VGET_LOWERCASE);
- if (yn[0] == 'y')
+ if (yn[0] != 'n')
myid = "小天使";
}
}