From d8bd3afd763c0813544ea6c8bbaa589dc0e44034 Mon Sep 17 00:00:00 2001 From: Adam- Date: Sat, 26 Sep 2009 04:53:59 +0000 Subject: 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 --- include/services.h | 1 + include/users.h | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'include') 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); }; -- cgit