diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-09-26 04:53:59 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-09-26 04:53:59 +0000 |
| commit | d8bd3afd763c0813544ea6c8bbaa589dc0e44034 (patch) | |
| tree | 2632a45ee7989d7219eaa79d07a39b406c95650c /include | |
| parent | 927d2717a989d5b5c074390fbb71d8230b13d5d5 (diff) | |
Fixed bug #1107. We now have support for IRCds that send auth after the initial NICK/UID command, and automatically reidentifying users from their account name on InspIRCd1.2
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2513 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
| -rw-r--r-- | include/services.h | 1 | ||||
| -rw-r--r-- | include/users.h | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/services.h b/include/services.h index a6469419b..0119929fc 100644 --- a/include/services.h +++ b/include/services.h @@ -525,6 +525,7 @@ struct ircdvars_ { * 0 for no support, 1 for strict cidr support, anything else * for ircd specific support (nefarious only cares about first /mask) */ const char *globaltldprefix; /* TLD prefix used for Global */ + bool b_delay_auth; /* Auth for users is sent after the initial NICK/UID command */ }; struct ircdcapab_ { diff --git a/include/users.h b/include/users.h index 585c15529..a3d182546 100644 --- a/include/users.h +++ b/include/users.h @@ -145,5 +145,10 @@ public: // XXX: exposing a tiny bit too much * @param svid Services id */ void CheckAuthenticationToken(const char *svid); + + /** Auto identify the user to the given accountname. + * @param account Display nick of account + */ + void AutoID(const char *acc); }; |
