summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pttbbs/util/angel.c7
-rw-r--r--pttbbs/util/permreport.c2
2 files changed, 2 insertions, 7 deletions
diff --git a/pttbbs/util/angel.c b/pttbbs/util/angel.c
index afeb370a..090b8df6 100644
--- a/pttbbs/util/angel.c
+++ b/pttbbs/util/angel.c
@@ -15,13 +15,6 @@
int main(){ return 0; }
#else
-const char *blacklist[] = {
- // List angels that you DON'T want to be listed here.
- "PttAngels",
- "AngelParty",
- NULL,
-};
-
void slurp(FILE* to, FILE* from) {
char buf[4096]; // 4K block
int count;
diff --git a/pttbbs/util/permreport.c b/pttbbs/util/permreport.c
index b6d2e29b..b39b864f 100644
--- a/pttbbs/util/permreport.c
+++ b/pttbbs/util/permreport.c
@@ -38,9 +38,11 @@ int main(void) {
PERMCHECK(PERM_ACTION),
PERMCHECK(PERM_PAINT),
#endif
+#ifdef PLAY_ANGEL
PERMCHECK(ROLE_ANGEL_CIA),
PERMCHECK(ROLE_ANGEL_ACTIVITY),
PERMCHECK(ROLE_ANGEL_ARCHANGEL),
+#endif
PERMCHECK(ROLE_POLICE_ANONYMOUS),
{0, NULL},
};