summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-19 19:33:13 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-19 19:33:13 +0300
commit201ecf111a1fcce2b76dc0186e2dc7b0d0ac0b41 (patch)
tree0200a6a323eeb262a5f0a34dddfa65f5b1f78a96
parentf52741caab03a26afd41b7e85e863027fec1e26d (diff)
downloadmanaverse-201ecf111a1fcce2b76dc0186e2dc7b0d0ac0b41.tar.gz
manaverse-201ecf111a1fcce2b76dc0186e2dc7b0d0ac0b41.tar.bz2
manaverse-201ecf111a1fcce2b76dc0186e2dc7b0d0ac0b41.tar.xz
manaverse-201ecf111a1fcce2b76dc0186e2dc7b0d0ac0b41.zip
Allow create party and guild not only from chat but from menu too.
-rw-r--r--src/actions/chat.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp
index 3bf231d7c..a3fcef632 100644
--- a/src/actions/chat.cpp
+++ b/src/actions/chat.cpp
@@ -333,7 +333,7 @@ impHandler0(clearChatTab)
impHandler(createParty)
{
- if (!event.tab || !partyHandler)
+ if (!partyHandler)
return false;
if (event.args.empty())
@@ -353,7 +353,6 @@ impHandler(createParty)
impHandler(createGuild)
{
if (!guildHandler ||
- !event.tab ||
!serverFeatures ||
!serverFeatures->haveNativeGuilds())
{