diff options
author | Chuck Miller <shadowmil@gmail.com> | 2010-07-18 23:02:25 -0400 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2010-07-18 23:10:02 -0400 |
commit | 41a23cb4511e9ba3985990e2703fb3d680a23d14 (patch) | |
tree | 2bf03217e3c3b0f28aed5649e2e43cf2b965bd1d /src/net/tmwa/guildhandler.cpp | |
parent | 782158dfd719fb6d196f79075f275fb8599d393c (diff) | |
download | mana-client-41a23cb4511e9ba3985990e2703fb3d680a23d14.tar.gz mana-client-41a23cb4511e9ba3985990e2703fb3d680a23d14.tar.bz2 mana-client-41a23cb4511e9ba3985990e2703fb3d680a23d14.tar.xz mana-client-41a23cb4511e9ba3985990e2703fb3d680a23d14.zip |
Move the majority of the netcode's server messages to the event system
There is still a good way to go, but this should get us
started
Reviewed-by: Jared Adams
Diffstat (limited to 'src/net/tmwa/guildhandler.cpp')
-rw-r--r-- | src/net/tmwa/guildhandler.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/tmwa/guildhandler.cpp b/src/net/tmwa/guildhandler.cpp index 3d3b0ab2..21cf9c32 100644 --- a/src/net/tmwa/guildhandler.cpp +++ b/src/net/tmwa/guildhandler.cpp @@ -21,6 +21,8 @@ #include "net/tmwa/guildhandler.h" #include "guild.h" +#include "event.h" +#include "eventmanager.h" #include "localplayer.h" #include "log.h" @@ -387,8 +389,7 @@ void GuildHandler::handleMessage(Net::MessageIn &msg) void GuildHandler::create(const std::string &name) { - localChatTab->chatLog(_("Guild creation isn't supported yet."), - BY_SERVER); + SERVER_NOTICE(_("Guild creation isn't supported yet.")) return; MessageOut msg(CMSG_GUILD_CREATE); |