diff options
author | Adam <Adam@anope.org> | 2012-12-19 08:48:04 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-12-19 08:48:23 -0500 |
commit | 784683a68dc3882f9507b9d304f4adf10fb403ae (patch) | |
tree | 7fa9d69db84f9a382bf5688adc5a007186e39a14 /src/bots.cpp | |
parent | 3b2094301d6cfb6ef4e17746c93a31f82d21a703 (diff) |
Having these references to bots bugged out older compilers, so simplify this by just moving pointers to the core
Diffstat (limited to 'src/bots.cpp')
-rw-r--r-- | src/bots.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bots.cpp b/src/bots.cpp index da5fe7574..c484ec5d4 100644 --- a/src/bots.cpp +++ b/src/bots.cpp @@ -32,7 +32,9 @@ static const Anope::string BotServFlagStrings[] = { }; template<> const Anope::string* Flags<BotServFlag>::flags_strings = BotServFlagStrings; -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"), Service(NULL, "BotInfo", nnick), botmodes(bmodes) +BotInfo *BotServ = NULL, *ChanServ = NULL, *Global = NULL, *HostServ = NULL, *MemoServ = NULL, *NickServ = NULL, *OperServ = NULL; + +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"), botmodes(bmodes) { this->lastmsg = this->created = Anope::CurTime; this->introduced = false; |