summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2013-04-04 00:38:26 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2013-04-04 00:38:26 +0800
commit2da8cc7c1be12c3e56b7c3852adca8622a35d279 (patch)
treefdd0dbff2feec0bc4fbc6ea7031ee87e4f741626
parent4be82f9846e65711717d038b05e37f224c11a708 (diff)
downloadpttbbs-2da8cc7c1be12c3e56b7c3852adca8622a35d279.tar
pttbbs-2da8cc7c1be12c3e56b7c3852adca8622a35d279.tar.gz
pttbbs-2da8cc7c1be12c3e56b7c3852adca8622a35d279.tar.bz2
pttbbs-2da8cc7c1be12c3e56b7c3852adca8622a35d279.tar.lz
pttbbs-2da8cc7c1be12c3e56b7c3852adca8622a35d279.tar.xz
pttbbs-2da8cc7c1be12c3e56b7c3852adca8622a35d279.tar.zst
pttbbs-2da8cc7c1be12c3e56b7c3852adca8622a35d279.zip
Remove angel hacks
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5835 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-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},
};