summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-27 11:41:20 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-27 11:41:20 +0000
commitda404eb4154d8fe93258ec4adf190a97c04065b2 (patch)
tree23524b866b01e9b1efaa904b476c774088c36084
parent57fd220885cb883b2f46a67aefcfc830def2de2e (diff)
Fix crashbug when exiting a remote client with threaded dns on (oops)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4552 e03df62e-2008-0410-955e-edbf42e46eb7
-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);
}