summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/include/users.h b/include/users.h
index 9229cbe11..ea8700485 100644
--- a/include/users.h
+++ b/include/users.h
@@ -18,11 +18,6 @@
#define __USERS_H__
#include <string>
-
-#ifdef THREADED_DNS
-#include <pthread.h>
-#endif
-
#include "inspircd_config.h"
#include "socket.h"
#include "channels.h"
@@ -69,9 +64,15 @@ class Invited : public classbase
irc::string channel;
};
+
+
+/** Derived from Resolver, and performs user forward/reverse lookups.
+ */
class UserResolver : public Resolver
{
private:
+ /** User this class is 'attached' to.
+ */
userrec* bound_user;
int bound_fd;
public:
@@ -416,12 +417,6 @@ class userrec : public connection
/** Default destructor
*/
virtual ~userrec();
-
-#ifdef THREADED_DNS
- /** Thread used for threaded lookups
- */
- pthread_t dnsthread;
-#endif
};
/** Used to hold WHOWAS information