From a39e10b8323d3f26e3eaddb83568f1854170210d Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Fri, 29 Jan 2010 14:41:33 +0000 Subject: Block guild creation under eAthena for now --- src/net/ea/guildhandler.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') 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); -- cgit v1.2.3-70-g09d2