From fdebcc70f7d9559f03ffef94b8d03eba78294276 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 1 May 2017 22:37:07 +0300 Subject: Remove ServerFeatures haveMail because it depend only on server type. --- src/gui/popups/popupmenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') 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 -- cgit v1.2.3-70-g09d2