summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2012-08-13 23:21:47 +0200
committerErik Schilling <ablu.erikschilling@googlemail.com>2012-10-11 20:25:58 +0200
commit03a14c66c3ad45cc6fed417a78e9f4648f1df073 (patch)
tree03d6ed952fc362586d7529eae3614d9815a956b1
parentf01e59de269895978162ca62e6c0d21e717b6705 (diff)
downloadmana-03a14c66c3ad45cc6fed417a78e9f4648f1df073.tar.gz
mana-03a14c66c3ad45cc6fed417a78e9f4648f1df073.tar.bz2
mana-03a14c66c3ad45cc6fed417a78e9f4648f1df073.tar.xz
mana-03a14c66c3ad45cc6fed417a78e9f4648f1df073.zip
Give feedback when guild invite failed
Server was already sending a error message. But the client ignored it. Reviewed-by: Stefan Beller.
-rw-r--r--src/net/manaserv/guildhandler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/manaserv/guildhandler.cpp b/src/net/manaserv/guildhandler.cpp
index cd22fcec..19fa03ca 100644
--- a/src/net/manaserv/guildhandler.cpp
+++ b/src/net/manaserv/guildhandler.cpp
@@ -105,6 +105,10 @@ void GuildHandler::handleMessage(MessageIn &msg)
{
SERVER_NOTICE(_("Invited player can't join another guild."));
}
+ else // any other failure
+ {
+ SERVER_NOTICE(_("Invite failed."));
+ }
} break;
case CPMSG_GUILD_ACCEPT_RESPONSE: