diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-06-04 10:55:19 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-06-04 10:55:19 +0000 |
commit | 966226823c39b8952f8db398cf5cc1081746ef4a (patch) | |
tree | 90919e07aead12067a3ca839bebdbde097776db2 /include | |
parent | 512fa99402ef1d4d34d255236d45d635221aec25 (diff) |
- Fixed debug assertion being triggered on ident lookup
as reported by Stuart Walsh
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2180 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'include')
-rw-r--r-- | include/client.h | 3 | ||||
-rw-r--r-- | include/s_auth.h | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/include/client.h b/include/client.h index d50e0e3..b84fa0b 100644 --- a/include/client.h +++ b/include/client.h @@ -34,6 +34,7 @@ #include "ircd_defs.h" #include "dbuf.h" #include "channel.h" +#include "s_auth.h" /* * status macros. @@ -357,7 +358,7 @@ struct LocalUser uint64_t bytes; /**< Statistics: total bytes sent/received */ } recv, send; - struct AuthRequest *auth; + struct AuthRequest auth; struct Listener *listener; /**< listener accepted from */ dlink_list acceptlist; /**< clients I'll allow to talk to me */ dlink_list watches; /**< chain of Watch pointer blocks */ diff --git a/include/s_auth.h b/include/s_auth.h index 44a1246..4eb024d 100644 --- a/include/s_auth.h +++ b/include/s_auth.h @@ -25,8 +25,6 @@ #ifndef INCLUDED_s_auth_h #define INCLUDED_s_auth_h -#include "hook.h" - /* * flag values for AuthRequest * NAMESPACE: AM_xxx - Authentication Module @@ -53,9 +51,8 @@ struct AuthRequest time_t timeout; /* time when query expires */ }; -extern struct Callback *auth_cb; - extern void auth_init(void); +extern void start_auth(struct Client *); extern void send_auth_query(struct AuthRequest *); extern void remove_auth_request(struct AuthRequest *); extern void delete_auth(struct AuthRequest *); |