summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-03 14:57:02 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-03 14:57:02 +0300
commit87c8c8423193109175cf8234160cd51ac561eb94 (patch)
tree9aaea2a2eedbad41d422ba6d3e7036af26784675 /src/net/eathena
parent238da37720dbb56a7a8c3c7f30acd8c9fbab65b2 (diff)
downloadplus-87c8c8423193109175cf8234160cd51ac561eb94.tar.gz
plus-87c8c8423193109175cf8234160cd51ac561eb94.tar.bz2
plus-87c8c8423193109175cf8234160cd51ac561eb94.tar.xz
plus-87c8c8423193109175cf8234160cd51ac561eb94.zip
Add server feature secure trades.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/serverfeatures.cpp5
-rw-r--r--src/net/eathena/serverfeatures.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp
index 1423f1b9f..48d0354b3 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -265,4 +265,9 @@ bool ServerFeatures::haveExtendedDropsPosition() const
return serverVersion >= 12;
}
+bool ServerFeatures::haveSecureTrades() const
+{
+ return true;
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index 73ca3f212..c005de64f 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/serverfeatures.h
@@ -125,6 +125,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveSlide() const override final;
bool haveExtendedDropsPosition() const override final;
+
+ bool haveSecureTrades() const override final;
};
} // namespace EAthena