diff --git a/html/ops/delete_spammers.php b/html/ops/delete_spammers.php
index 74747df19c..e7cdd38ce0 100755
--- a/html/ops/delete_spammers.php
+++ b/html/ops/delete_spammers.php
@@ -98,6 +98,9 @@ function delete_forums() {
if ($days) {
if ($user->create_time < time() - $days*86400) continue;
}
+ if ($user->teamid) {
+ continue;
+ }
$n = BoincHost::count("userid=$p->userid");
if ($n) continue;
delete_user($user);