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 --- src/bots.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bots.cpp') diff --git a/src/bots.cpp b/src/bots.cpp index e2c346837..243d2ab89 100644 --- a/src/bots.cpp +++ b/src/bots.cpp @@ -21,7 +21,7 @@ Serialize::Checker BotListByNick("BotInfo"), BotListByUID("BotInfo"); -BotInfo::BotInfo(const Anope::string &nnick, const Anope::string &nuser, const Anope::string &nhost, const Anope::string &nreal, const Anope::string &bmodes) : User(nnick, nuser, nhost, "", "", Me, nreal, Anope::CurTime, "", Servers::TS6_UID_Retrieve()), Serializable("BotInfo"), channels("ChannelInfo"), botmodes(bmodes) +BotInfo::BotInfo(const Anope::string &nnick, const Anope::string &nuser, const Anope::string &nhost, const Anope::string &nreal, const Anope::string &bmodes) : User(nnick, nuser, nhost, "", "", Me, nreal, Anope::CurTime, "", Servers::TS6_UID_Retrieve(), NULL), Serializable("BotInfo"), channels("ChannelInfo"), botmodes(bmodes) { this->lastmsg = this->created = Anope::CurTime; this->introduced = false; -- cgit