summaryrefslogtreecommitdiff
path: root/src/net/ea/guildhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-08-03 22:23:30 +0300
committerAndrei Karas <akaras@inbox.ru>2011-08-03 22:23:30 +0300
commit2b4fecc8a93722d3cb080edcae436c329641937b (patch)
tree23d2ec5dc93fda645b637de77d42924a87efd33b /src/net/ea/guildhandler.cpp
parent7758b86aaa0d368ef776ad826903a0b3bcc7102c (diff)
downloadManaVerse-2b4fecc8a93722d3cb080edcae436c329641937b.tar.gz
ManaVerse-2b4fecc8a93722d3cb080edcae436c329641937b.tar.bz2
ManaVerse-2b4fecc8a93722d3cb080edcae436c329641937b.tar.xz
ManaVerse-2b4fecc8a93722d3cb080edcae436c329641937b.zip
Fix code style and remove some unused variabled.
Diffstat (limited to 'src/net/ea/guildhandler.cpp')
-rw-r--r--src/net/ea/guildhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/guildhandler.cpp b/src/net/ea/guildhandler.cpp
index 163fed401..bb5cbe94b 100644
--- a/src/net/ea/guildhandler.cpp
+++ b/src/net/ea/guildhandler.cpp
@@ -423,7 +423,7 @@ void GuildHandler::processGuildInviteAck(Net::MessageIn &msg)
void GuildHandler::processGuildLeave(Net::MessageIn &msg)
{
std::string nick = msg.readString(24); // Name
- std::string message = msg.readString(40); // Message
+ msg.readString(40); // Message
if (taGuild)
taGuild->removeMember(nick);
@@ -468,7 +468,7 @@ void GuildHandler::processGuildLeave(Net::MessageIn &msg)
void GuildHandler::processGuildExpulsion(Net::MessageIn &msg)
{
std::string nick = msg.readString(24); // Name (of expulsed?)
- std::string message = msg.readString(40); // Message
+ msg.readString(40); // Message
msg.skip(24); // unused ("dummy")
if (taGuild)
taGuild->removeMember(nick);