summaryrefslogtreecommitdiff
path: root/include
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
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')
-rw-r--r--include/bots.h4
-rw-r--r--include/module.h4
2 files changed, 3 insertions, 5 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
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