summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-04 18:43:16 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-04 18:43:16 +0300
commita3310b047fb85052429a979eb0ebd02d47c43964 (patch)
treefefcc4001bcadad82fa0ebb96e0c18fbfa20b6f7 /src/net/tmwa
parent45cc2ca610613ee824e0549904edb33334b265a7 (diff)
downloadmv-a3310b047fb85052429a979eb0ebd02d47c43964.tar.gz
mv-a3310b047fb85052429a979eb0ebd02d47c43964.tar.bz2
mv-a3310b047fb85052429a979eb0ebd02d47c43964.tar.xz
mv-a3310b047fb85052429a979eb0ebd02d47c43964.zip
Add server feature haveEmailOnDelete.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/serverfeatures.cpp5
-rw-r--r--src/net/tmwa/serverfeatures.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index 1b6fd7303..6f4ff34ea 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -134,6 +134,11 @@ bool ServerFeatures::haveEmailOnRegister() const
return serverVersion >= 7;
}
+bool ServerFeatures::haveEmailOnDelete() const
+{
+ return false;
+}
+
bool ServerFeatures::haveEightDirections() const
{
return false;
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index 83a7270f3..5c0d1240c 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -76,6 +76,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveEmailOnRegister() const override final;
+ bool haveEmailOnDelete() const override final;
+
bool haveEightDirections() const override final;
bool haveCharRename() const override final;