summaryrefslogtreecommitdiff
path: root/src/net
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 /src/net
parentf01e59de269895978162ca62e6c0d21e717b6705 (diff)
downloadmana-client-03a14c66c3ad45cc6fed417a78e9f4648f1df073.tar.gz
mana-client-03a14c66c3ad45cc6fed417a78e9f4648f1df073.tar.bz2
mana-client-03a14c66c3ad45cc6fed417a78e9f4648f1df073.tar.xz
mana-client-03a14c66c3ad45cc6fed417a78e9f4648f1df073.zip
Give feedback when guild invite failed
Server was already sending a error message. But the client ignored it. Reviewed-by: Stefan Beller.
Diffstat (limited to 'src/net')
-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: