From 784683a68dc3882f9507b9d304f4adf10fb403ae Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 19 Dec 2012 08:48:04 -0500 Subject: Having these references to bots bugged out older compilers, so simplify this by just moving pointers to the core --- include/bots.h | 4 +++- include/module.h | 4 ---- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/bots.h b/include/bots.h index 01c752124..fa3e64974 100644 --- a/include/bots.h +++ b/include/bots.h @@ -35,7 +35,7 @@ enum BotFlag }; /* A service bot (NickServ, ChanServ, a BotServ bot, etc). */ -class CoreExport BotInfo : public User, public Flags, public Serializable, public Service +class CoreExport BotInfo : public User, public Flags, public Serializable { public: time_t created; @@ -139,4 +139,6 @@ class CoreExport BotInfo : public User, public Flags, public Serializab static BotInfo* Find(const Anope::string &nick, bool nick_only = false); }; +extern CoreExport BotInfo *BotServ, *ChanServ, *Global, *HostServ, *MemoServ, *NickServ, *OperServ; + #endif // BOTS_H diff --git a/include/module.h b/include/module.h index e2fc18eaf..eba4384d6 100644 --- a/include/module.h +++ b/include/module.h @@ -47,12 +47,8 @@ #include "users.h" #include "xline.h" -#include "chanserv.h" -#include "botserv.h" #include "global.h" -#include "hostserv.h" #include "memoserv.h" #include "nickserv.h" -#include "operserv.h" #endif // MODULE_H -- cgit