summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 118d9cdcf..553819d49 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -220,7 +220,7 @@ userrec::~userrec()
delete x;
}
#ifdef THREADED_DNS
- if ((!dns_done) && (registered >= 3))
+ if ((IS_LOCAL(this)) && (!dns_done) && (registered >= 3))
{
pthread_kill(this->dnsthread, SIGTERM);
}