From 34dcaf1df4639655a1dcf9f721b1a6c46e55576d Mon Sep 17 00:00:00 2001 From: piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> Date: Mon, 26 Nov 2012 18:34:03 +0000 Subject: make angel changes optional. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5717 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/mbbsd/angel.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pttbbs/mbbsd/angel.c b/pttbbs/mbbsd/angel.c index a4a64099..bd3e08b0 100644 --- a/pttbbs/mbbsd/angel.c +++ b/pttbbs/mbbsd/angel.c @@ -369,6 +369,7 @@ int a_angelreport() { rpt.max_masters_of_active_angels/base2); } +#ifdef ANGEL_REPORT_INDEX if (HasUserPerm(PERM_ANGEL)) { if (currutmp->angelpause != ANGELPAUSE_NONE) prints("\n\t �ѩ�z�ثe�ڦ��p�D�H�ҥH�L�����T\n"); @@ -380,6 +381,7 @@ int a_angelreport() { rpt.my_active_index); prints("\n\t �z�ثe�j���� %d ��p�D�H�C\n", rpt.my_active_masters); } +#endif } close(fd); pressanykey(); @@ -603,7 +605,9 @@ TalkToAngel(){ if (cuser.myangel[0] == 0) { int ret = FindAngel(); +#ifdef ANGEL_PREVENT_MALICIOUS_CHANGE is_new_angel = 1; +#endif if (ret <= 0) { lastuent = NULL; NoAngelFound( -- cgit v1.2.3