diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-02 09:23:51 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-02 09:23:51 +0000 |
commit | 5e386b10ca25434a65578e226b14c1344280c3a1 (patch) | |
tree | f3d8269fecf5bf6faf5b7770d98441f32793273a /src/users.cpp | |
parent | 32bb4c102768046195f64194c8951041132835ad (diff) |
Fixed dns pthread_kill
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2106 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp index 641827428..c78eb4793 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -64,7 +64,11 @@ userrec::userrec() userrec::~userrec() { - pthread_kill(this->dnsthread,9); + // for local clients, clean up their dns thread + if (!strcmp(this->server,ServerName)) + { + pthread_kill(this->dnsthread,9); + } } void userrec::CloseSocket() |