summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/services.h1
-rw-r--r--include/users.h5
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);
};