summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-01 23:59:40 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-01 23:59:40 +0000
commitd56e60139a8c8f9fad434917ea236e8d2b1ea5ae (patch)
treebc908a0db845e41537067a4b7e43753f67894404 /src/users.cpp
parent0ae2cb132ba4a631edbc232f483f72724856f5fb (diff)
Multithreaded DNS -- not tested!!!!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2088 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 32c29a75d..fc286895f 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -60,6 +60,11 @@ userrec::userrec()
invites.clear();
}
+userrec::~userrec()
+{
+ pthread_kill(this->dnsthread,9);
+}
+
void userrec::CloseSocket()
{
shutdown(this->fd,2);