diff options
Diffstat (limited to 'src/net/manaserv/guildhandler.cpp')
-rw-r--r-- | src/net/manaserv/guildhandler.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/net/manaserv/guildhandler.cpp b/src/net/manaserv/guildhandler.cpp index be2a5ec8..398e9c62 100644 --- a/src/net/manaserv/guildhandler.cpp +++ b/src/net/manaserv/guildhandler.cpp @@ -42,8 +42,6 @@ #include "utils/gettext.h" #include "utils/stringutils.h" -#include <iostream> - extern Net::GuildHandler *guildHandler; namespace ManaServ { @@ -143,7 +141,7 @@ void GuildHandler::handleMessage(MessageIn &msg) { name = msg.readString(); online = msg.readInt8(); - if (name != "") + if (!name.empty()) { member = guild->addMember(name); member->setOnline(online); |