From 5ac1e9175d90fad5feaf235dfe225ddffc47f257 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 19 Jun 2013 18:59:26 -0400 Subject: 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 --- include/users.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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. -- cgit