diff options
| author | adam- <adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-08-04 01:56:14 +0000 |
|---|---|---|
| committer | adam- <adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-08-04 01:56:14 +0000 |
| commit | ce664a160b1c1d4c75de5ba1867c96a0698326fd (patch) | |
| tree | 313d7e88fdbb98b4d45917cbd6eb2d3aa36a661e /include | |
| parent | 0d7e0274a4e10bcd2b9410d907ff3fec9202d336 (diff) | |
Fixed autoid
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2404 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
| -rw-r--r-- | include/services.h | 7 | ||||
| -rw-r--r-- | include/users.h | 9 |
2 files changed, 11 insertions, 5 deletions
diff --git a/include/services.h b/include/services.h index 55b437da3..c86a5bd1d 100644 --- a/include/services.h +++ b/include/services.h @@ -469,9 +469,7 @@ struct ircdvars_ { const char *ownerunset; /* Mode to unset for a owner */ const char *adminset; /* Mode to set for admin */ const char *adminunset; /* Mode to unset for admin */ - const char *modeonreg; /* Mode on Register */ const char *modeonunreg; /* Mode on Unregister */ - const char *modeonnick; /* Mode on nick change */ int sgline; /* Supports SGline */ int sqline; /* Supports SQline */ int szline; /* Supports SZline */ @@ -1355,6 +1353,11 @@ class CoreExport IRCDProto * @param account The account the user is logging out of */ virtual void SendAccountLogout(User *u, NickCore *account) { } + + /** Set a users auto identification token + * @param u The user + */ + virtual void SetAutoIdentificationToken(User *u) { } }; class CoreExport IRCDTS6Proto : public IRCDProto diff --git a/include/users.h b/include/users.h index fd05b5c17..360dfeec5 100644 --- a/include/users.h +++ b/include/users.h @@ -117,9 +117,6 @@ public: // XXX: exposing a tiny bit too much */ const std::string &GetIdent() const; - - - /** Updates the realname of the user record. */ void SetRealname(const std::string &realname); @@ -133,5 +130,11 @@ public: // XXX: exposing a tiny bit too much */ void SendMessage(const char *source, const char *fmt, ...); void SendMessage(const char *source, const std::string &msg); + + /** Check if the user should become identified because + * their svid matches the one stored in their nickcore + * @param svid Services id + */ + void CheckAuthenticationToken(const char *svid); }; |
