From 27b44a704d2c6ad9e5a5760bb19bba4c3defc36d Mon Sep 17 00:00:00 2001 From: scw Date: Thu, 30 Mar 2006 01:32:25 +0000 Subject: Wrong check on angel changing git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3314 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/talk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]", -- cgit v1.2.3