From 9e4a8ea095a1a0613d7b128f4e29c69643137b07 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Thu, 26 Mar 2009 09:42:43 -0600 Subject: Add ChannelTab for chat channels This fixes TMWServ compilation form the previous commit. --- src/channel.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/channel.cpp') diff --git a/src/channel.cpp b/src/channel.cpp index f5a0dd2a..0cd850a9 100644 --- a/src/channel.cpp +++ b/src/channel.cpp @@ -19,9 +19,16 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ - #include "channel.h" +#ifdef TMWSERV_SUPPORT +#include "net/tmwserv/chatserver/chatserver.h" +#include "net/tmwserv/gameserver/player.h" +#else +#include "net/messageout.h" +#include "net/ea/protocol.h" +#endif + Channel::Channel(short id, const std::string &name, const std::string &announcement) : -- cgit v1.2.3-70-g09d2