diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2013-03-22 23:07:05 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2013-03-22 23:07:05 +0800 |
commit | c124ecaf322fdfc717defe4d2af11eb398f5148c (patch) | |
tree | 1a15149fccee40d328141b2197956586ba91588a | |
parent | 7b2b7df82f51e2bb8fe88107c412824023b7dbcb (diff) | |
download | pttbbs-c124ecaf322fdfc717defe4d2af11eb398f5148c.tar pttbbs-c124ecaf322fdfc717defe4d2af11eb398f5148c.tar.gz pttbbs-c124ecaf322fdfc717defe4d2af11eb398f5148c.tar.bz2 pttbbs-c124ecaf322fdfc717defe4d2af11eb398f5148c.tar.lz pttbbs-c124ecaf322fdfc717defe4d2af11eb398f5148c.tar.xz pttbbs-c124ecaf322fdfc717defe4d2af11eb398f5148c.tar.zst pttbbs-c124ecaf322fdfc717defe4d2af11eb398f5148c.zip |
misc angel fix
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5819 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/angel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/angel.c b/pttbbs/mbbsd/angel.c index 6197e4cc..6899aa49 100644 --- a/pttbbs/mbbsd/angel.c +++ b/pttbbs/mbbsd/angel.c @@ -420,7 +420,7 @@ int angel_check_master(void) { vs_hdr2(PROMPT_ANGELBEATS, " �d�ߥD�H���A "); usercomplete("�Q�d�ߪ��D�H ID: ", uid); move(2, 0); clrtobot(); - if (!uid) + if (!*uid) return 0; if (getuser(uid, &xuser) < 1) { vmsg("�� ID ���s�b�C"); @@ -437,6 +437,8 @@ int angel_check_master(void) { if (xuser.timeplayangel) prints("�p�D�H�̫�@�����\\�I�s�A(hh)���ɶ��O %s\n", Cdatelite(&xuser.timeplayangel)); + else + prints("���O�p�D�H�q�ӨS���L���\\�I�s�A(�`����~�Ѩϩλ~�����D�H)�C\n"); } else { prints(ANSI_COLOR(1;31) "%s ���O�A���p�D�H�C" ANSI_RESET "\n", xuser.userid); |