summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-12 21:39:10 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-12 21:39:10 +0300
commit28a73274cc829861dd7a0994c4f837013a239ad0 (patch)
treeb7dbc0d25ec179f056ae074f2609739e05d782b9 /src/net
parent395c5bd3ebe27f6dfc4d02c644e3c098caafcb09 (diff)
downloadManaVerse-28a73274cc829861dd7a0994c4f837013a239ad0.tar.gz
ManaVerse-28a73274cc829861dd7a0994c4f837013a239ad0.tar.bz2
ManaVerse-28a73274cc829861dd7a0994c4f837013a239ad0.tar.xz
ManaVerse-28a73274cc829861dd7a0994c4f837013a239ad0.zip
disable native guild support for "new" tmw server.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/tmwa/guildhandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/tmwa/guildhandler.cpp b/src/net/tmwa/guildhandler.cpp
index 73b82bfbc..99416fa73 100644
--- a/src/net/tmwa/guildhandler.cpp
+++ b/src/net/tmwa/guildhandler.cpp
@@ -82,6 +82,9 @@ GuildHandler::~GuildHandler()
void GuildHandler::handleMessage(Net::MessageIn &msg)
{
BLOCK_START("GuildHandler::handleMessage")
+ if (tmwServerVersion > 0)
+ return;
+
switch (msg.getId())
{
case SMSG_GUILD_CREATE_RESPONSE: