summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-28 16:09:27 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-28 16:09:27 +0300
commit896b43b80b7f1db2d5add42e6349a4edd4fd8847 (patch)
treedbd1a7c81ada49f9bde917016c503e08af59d992 /src/actions/commands.cpp
parent7d4ed2e086107a26f5d2b98a0ec318263d57b0ea (diff)
downloadmanaplus-896b43b80b7f1db2d5add42e6349a4edd4fd8847.tar.gz
manaplus-896b43b80b7f1db2d5add42e6349a4edd4fd8847.tar.bz2
manaplus-896b43b80b7f1db2d5add42e6349a4edd4fd8847.tar.xz
manaplus-896b43b80b7f1db2d5add42e6349a4edd4fd8847.zip
Fix compilation warning without tmwa support.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index 1ed0d3c81..f2d49b13b 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -555,8 +555,8 @@ impHandler(imitation)
impHandler(sendMail)
{
- const ServerTypeT type = Net::getNetworkType();
#ifdef TMWA_SUPPORT
+ const ServerTypeT type = Net::getNetworkType();
if (type == ServerType::EATHENA || type == ServerType::EVOL2)
#endif // TMWA_SUPPORT
{