From 03a14c66c3ad45cc6fed417a78e9f4648f1df073 Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Mon, 13 Aug 2012 23:21:47 +0200 Subject: Give feedback when guild invite failed Server was already sending a error message. But the client ignored it. Reviewed-by: Stefan Beller. --- src/net/manaserv/guildhandler.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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: -- cgit v1.2.3-70-g09d2