summaryrefslogtreecommitdiff
path: root/src/dyetool/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-12 18:41:12 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-12 18:41:12 +0300
commit906e0791682825606f80f72f067f4b19005fe535 (patch)
tree0367ebe15da35860bb12b4d9735d5b18236f0d07 /src/dyetool/client.cpp
parent21c3ddedc9d54fdc263adc758f49ea5688d7b6c3 (diff)
downloadplus-906e0791682825606f80f72f067f4b19005fe535.tar.gz
plus-906e0791682825606f80f72f067f4b19005fe535.tar.bz2
plus-906e0791682825606f80f72f067f4b19005fe535.tar.xz
plus-906e0791682825606f80f72f067f4b19005fe535.zip
Reenable dyecmd compilation.
Diffstat (limited to 'src/dyetool/client.cpp')
-rw-r--r--src/dyetool/client.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/dyetool/client.cpp b/src/dyetool/client.cpp
index 72e58385e..91a2cbe88 100644
--- a/src/dyetool/client.cpp
+++ b/src/dyetool/client.cpp
@@ -728,3 +728,15 @@ int Client::testsExec()
{
return 0;
}
+
+bool Client::isTmw()
+{
+ const std::string &name = settings.serverName;
+ if (name == "server.themanaworld.org"
+ || name == "themanaworld.org"
+ || name == "167.114.185.71")
+ {
+ return true;
+ }
+ return false;
+}