summaryrefslogtreecommitdiff
path: root/include/bots.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-12-19 08:48:04 -0500
committerAdam <Adam@anope.org>2012-12-19 08:48:23 -0500
commit784683a68dc3882f9507b9d304f4adf10fb403ae (patch)
tree7fa9d69db84f9a382bf5688adc5a007186e39a14 /include/bots.h
parent3b2094301d6cfb6ef4e17746c93a31f82d21a703 (diff)
Having these references to bots bugged out older compilers, so simplify this by just moving pointers to the core
Diffstat (limited to 'include/bots.h')
-rw-r--r--include/bots.h4
1 files changed, 3 insertions, 1 deletions
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<BotFlag>, public Serializable, public Service
+class CoreExport BotInfo : public User, public Flags<BotFlag>, public Serializable
{
public:
time_t created;
@@ -139,4 +139,6 @@ class CoreExport BotInfo : public User, public Flags<BotFlag>, 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