summaryrefslogtreecommitdiff
path: root/include/services.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-06-27 02:41:48 -0400
committerAdam <Adam@anope.org>2010-06-27 02:41:48 -0400
commit57caa0b53f53927c72811ffffda8bb527975860f (patch)
tree7fef9b12d2d86758acb9198001f88f072e8a31d6 /include/services.h
parentd49aee6cf88c79220eb785245257544c8051247f (diff)
Made Anope track its own clients internally as if they were real users
Diffstat (limited to 'include/services.h')
-rw-r--r--include/services.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/services.h b/include/services.h
index 766137ba2..b234e438a 100644
--- a/include/services.h
+++ b/include/services.h
@@ -370,8 +370,8 @@ inline const std::string stringify(const T &x)
/*************************************************************************/
-/* forward declarations, mostly used by older code */
class User;
+class BotInfo;
class ChannelInfo;
class Channel;
class Server;
@@ -380,7 +380,6 @@ struct Session;
#include "extensible.h"
#include "threadengine.h"
-#include "bots.h"
#include "opertype.h"
#include "modes.h"
@@ -701,6 +700,8 @@ struct LevelInfo
/*************************************************************************/
#include "users.h"
+#include "bots.h"
+
/* This structure stocks ban data since it must not be removed when
* user is kicked.
*/