summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pttbbs/util/reaper.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pttbbs/util/reaper.c b/pttbbs/util/reaper.c
index 70bd3814..1f2cdd89 100644
--- a/pttbbs/util/reaper.c
+++ b/pttbbs/util/reaper.c
@@ -59,6 +59,9 @@ int check(void *data, int n, userec_t *u) {
// ignore regged accounts now.
if (u->userlevel & PERM_LOGINOK)
return 0;
+ // ignore violate-law accounts
+ if (u->userlevel & PERM_VIOLATELAW)
+ return 0;
if (u->userlevel & PERM_SYSOP)
return 0;
if (u->userlevel & PERM_XEMPT)