From a5bda75dae5facec9f920af28865aae4d46b545b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 11 Sep 2015 13:31:00 +0300 Subject: Fix compilation with disabled eathena server type. --- src/actions/commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/actions') diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index a3238e81c..36d189399 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -519,8 +519,8 @@ impHandler(imitation) impHandler0(sendMail) { - const ServerTypeT type = Net::getNetworkType(); #ifdef EATHENA_SUPPORT + const ServerTypeT type = Net::getNetworkType(); if (type == ServerType::EATHENA || type == ServerType::EVOL2) { std::string name; -- cgit v1.2.3-60-g2f50