summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-01-29 14:41:33 +0000
committerJared Adams <jaxad0127@gmail.com>2010-01-29 14:41:33 +0000
commita39e10b8323d3f26e3eaddb83568f1854170210d (patch)
treef81bda93e45660ee859a9b12300b77dbdcf40ddb /src
parent83270e09c1ec17f610df0645810eddffa0b8ccdf (diff)
downloadmana-a39e10b8323d3f26e3eaddb83568f1854170210d.tar.gz
mana-a39e10b8323d3f26e3eaddb83568f1854170210d.tar.bz2
mana-a39e10b8323d3f26e3eaddb83568f1854170210d.tar.xz
mana-a39e10b8323d3f26e3eaddb83568f1854170210d.zip
Block guild creation under eAthena for now
Diffstat (limited to 'src')
-rw-r--r--src/net/ea/guildhandler.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/ea/guildhandler.cpp b/src/net/ea/guildhandler.cpp
index d96aef0d..a819d072 100644
--- a/src/net/ea/guildhandler.cpp
+++ b/src/net/ea/guildhandler.cpp
@@ -24,9 +24,13 @@
#include "localplayer.h"
#include "log.h"
+#include "gui/widgets/chattab.h"
+
#include "net/ea/messagein.h"
#include "net/ea/protocol.h"
+#include "utils/gettext.h"
+
extern Net::GuildHandler *guildHandler;
namespace EAthena {
@@ -122,6 +126,10 @@ void GuildHandler::handleMessage(Net::MessageIn &msg)
void GuildHandler::create(const std::string &name)
{
+ localChatTab->chatLog(_("Guild creation isn't supported yet."),
+ BY_SERVER);
+ return;
+
MessageOut msg(CMSG_GUILD_CREATE);
msg.writeInt32(0); // Unused
msg.writeString(name, 24);