summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-01 00:43:42 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-01 00:43:42 +0300
commit2d07e4b837ee631a73dd2319f9bec9429556ed0a (patch)
tree265e9f0af85ce30e017a510c8584d2e46223a77e /src/gui/popups/popupmenu.cpp
parent79c393ec76891a806a69aad6782338875368e535 (diff)
downloadplus-2d07e4b837ee631a73dd2319f9bec9429556ed0a.tar.gz
plus-2d07e4b837ee631a73dd2319f9bec9429556ed0a.tar.bz2
plus-2d07e4b837ee631a73dd2319f9bec9429556ed0a.tar.xz
plus-2d07e4b837ee631a73dd2319f9bec9429556ed0a.zip
Remove ServerFeatures havePartyNickInvite, because it depend only on server type.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r--src/gui/popups/popupmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 913ebdeba..450dcee1d 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -1013,7 +1013,7 @@ void PopupMenu::showChatPopup(const int x, const int y, ChatTab *const tab)
}
addPlayerMisc();
addBuySellDefault();
- if (serverFeatures->havePartyNickInvite())
+ if (Net::getNetworkType() == ServerType::EATHENA)
addParty(wTab->getNick());
mBrowserBox->addRow("##3---");
}