summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-03-30 09:32:25 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-03-30 09:32:25 +0800
commit27b44a704d2c6ad9e5a5760bb19bba4c3defc36d (patch)
treeb7780281f8a3bd97ad7431e7b0cb96fe4e52d112
parent4380c093669fd69cd35a3ce02bc883aac0523bb5 (diff)
downloadpttbbs-27b44a704d2c6ad9e5a5760bb19bba4c3defc36d.tar
pttbbs-27b44a704d2c6ad9e5a5760bb19bba4c3defc36d.tar.gz
pttbbs-27b44a704d2c6ad9e5a5760bb19bba4c3defc36d.tar.bz2
pttbbs-27b44a704d2c6ad9e5a5760bb19bba4c3defc36d.tar.lz
pttbbs-27b44a704d2c6ad9e5a5760bb19bba4c3defc36d.tar.xz
pttbbs-27b44a704d2c6ad9e5a5760bb19bba4c3defc36d.tar.zst
pttbbs-27b44a704d2c6ad9e5a5760bb19bba4c3defc36d.zip
Wrong check on angel changing
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3314 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/talk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index e177822d..abfd0e52 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -3235,7 +3235,7 @@ t_changeangel(){
char buf[4];
/* cuser.myangel == "-" means banned for calling angel */
- if (cuser.myangel[0] == 0 || cuser.myangel[0] == '-') return 0;
+ if (cuser.myangel[0] == '-' || cuser.myangel[1] == 0) return 0;
getdata(b_lines - 1, 0,
"更換小天使後就無法換回了喔! 是否要更換小天使? [y/N]",