diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-01 22:37:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-01 22:37:07 +0300 |
commit | fdebcc70f7d9559f03ffef94b8d03eba78294276 (patch) | |
tree | 29ad58a07496d42b7fb9bd06cd0759e7b5629952 /src/gui/popups/popupmenu.cpp | |
parent | 570f7c9b66f9d0a11b7845a4c4d3bea0b7b7b628 (diff) | |
download | manaverse-fdebcc70f7d9559f03ffef94b8d03eba78294276.tar.gz manaverse-fdebcc70f7d9559f03ffef94b8d03eba78294276.tar.bz2 manaverse-fdebcc70f7d9559f03ffef94b8d03eba78294276.tar.xz manaverse-fdebcc70f7d9559f03ffef94b8d03eba78294276.zip |
Remove ServerFeatures haveMail because it depend only on server type.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 2 |
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 |