summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-01 22:37:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-01 22:37:07 +0300
commitfdebcc70f7d9559f03ffef94b8d03eba78294276 (patch)
tree29ad58a07496d42b7fb9bd06cd0759e7b5629952 /src/gui
parent570f7c9b66f9d0a11b7845a4c4d3bea0b7b7b628 (diff)
downloadplus-fdebcc70f7d9559f03ffef94b8d03eba78294276.tar.gz
plus-fdebcc70f7d9559f03ffef94b8d03eba78294276.tar.bz2
plus-fdebcc70f7d9559f03ffef94b8d03eba78294276.tar.xz
plus-fdebcc70f7d9559f03ffef94b8d03eba78294276.zip
Remove ServerFeatures haveMail because it depend only on server type.
Diffstat (limited to 'src/gui')
-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 0a938f6cb..630ec70b6 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -3389,7 +3389,7 @@ void PopupMenu::showCraftPopup()
void PopupMenu::addMailCommands()
{
- if (!serverFeatures->haveMail())
+ if (Net::getNetworkType() == ServerType::TMWATHENA)
return;
// TRANSLATORS: popup menu item