summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-01 23:07:26 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-01 23:07:26 +0000
commitbe1e2e4ee5eb8b990692e6f5ae20931abe4c9e3c (patch)
tree5e515685783d6e7c2f0465004a486e0c77cd7eab /include/users.h
parente74bb16a4fcf67a44d1b63bc13d205717a38bb96 (diff)
Fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4627 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h5
1 files changed, 4 insertions, 1 deletions
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);