From be1e2e4ee5eb8b990692e6f5ae20931abe4c9e3c Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 1 Aug 2006 23:07:26 +0000 Subject: Fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4627 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/users.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/users.h b/include/users.h index f1184ea24..c81ad988b 100644 --- a/include/users.h +++ b/include/users.h @@ -75,7 +75,10 @@ class UserResolver : public Resolver userrec* bound_user; int bound_fd; public: - UserResolver(userrec* user, std::string to_resolve, bool forward) : Resolver(to_resolve, forward), bound_user(user) { }; + UserResolver(userrec* user, std::string to_resolve, bool forward) : Resolver(to_resolve, forward), bound_user(user) + { + this->bound_fd = user->fd; + } void OnLookupComplete(const std::string &result); void OnError(ResolverError e); -- cgit v1.2.3