diff options
author | Adam <Adam@anope.org> | 2013-06-19 18:59:26 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-06-19 19:03:56 -0400 |
commit | 5ac1e9175d90fad5feaf235dfe225ddffc47f257 (patch) | |
tree | 729e5c1b34e2c23f1c5cdba427e52958b1b17ff0 /include/users.h | |
parent | 5695c9e079278e74692d55581769745c833bc284 (diff) |
Set vhosts when users id to an account (and not a nick), add account arg to user ctor to ease handling users who connect already identified
Diffstat (limited to 'include/users.h')
-rw-r--r-- | include/users.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/users.h b/include/users.h index 768b6dfa1..e76c2a427 100644 --- a/include/users.h +++ b/include/users.h @@ -102,8 +102,9 @@ class CoreExport User : public virtual Base, public Extensible, public CommandRe * @param ssignon User's timestamp * @param smodes User's modes * @param suid The unique identifier of the user. + * @param nc The account the user is identified as, if any */ - User(const Anope::string &snick, const Anope::string &sident, const Anope::string &shost, const Anope::string &svhost, const Anope::string &sip, Server *sserver, const Anope::string &srealname, time_t ssignon, const Anope::string &smodes, const Anope::string &suid = ""); + User(const Anope::string &snick, const Anope::string &sident, const Anope::string &shost, const Anope::string &svhost, const Anope::string &sip, Server *sserver, const Anope::string &srealname, time_t ssignon, const Anope::string &smodes, const Anope::string &suid, NickCore *nc); protected: /** Destroy a user. |