From 57caa0b53f53927c72811ffffda8bb527975860f Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 27 Jun 2010 02:41:48 -0400 Subject: Made Anope track its own clients internally as if they were real users --- include/services.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/services.h') 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. */ -- cgit