summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-01 22:37:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-01 22:37:07 +0300
commitfdebcc70f7d9559f03ffef94b8d03eba78294276 (patch)
tree29ad58a07496d42b7fb9bd06cd0759e7b5629952 /src/net
parent570f7c9b66f9d0a11b7845a4c4d3bea0b7b7b628 (diff)
downloadplus-fdebcc70f7d9559f03ffef94b8d03eba78294276.tar.gz
plus-fdebcc70f7d9559f03ffef94b8d03eba78294276.tar.bz2
plus-fdebcc70f7d9559f03ffef94b8d03eba78294276.tar.xz
plus-fdebcc70f7d9559f03ffef94b8d03eba78294276.zip
Remove ServerFeatures haveMail because it depend only on server type.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/serverfeatures.cpp5
-rw-r--r--src/net/eathena/serverfeatures.h2
-rw-r--r--src/net/serverfeatures.h2
-rw-r--r--src/net/tmwa/serverfeatures.cpp5
-rw-r--r--src/net/tmwa/serverfeatures.h2
5 files changed, 0 insertions, 16 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp
index d488bae96..57dac8555 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -141,11 +141,6 @@ bool ServerFeatures::haveExtendedDropsPosition() const
return serverVersion >= 12;
}
-bool ServerFeatures::haveMail() const
-{
- return true;
-}
-
bool ServerFeatures::haveServerPets() const
{
return true;
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index 2437cc39f..fbd2e7992 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/serverfeatures.h
@@ -76,8 +76,6 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveExtendedDropsPosition() const override final;
- bool haveMail() const override final;
-
bool haveServerPets() const override final;
bool haveFamily() const override final;
diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h
index 56e3ddd0b..2f466a310 100644
--- a/src/net/serverfeatures.h
+++ b/src/net/serverfeatures.h
@@ -78,8 +78,6 @@ class ServerFeatures notfinal
virtual bool haveExtendedDropsPosition() const = 0;
- virtual bool haveMail() const = 0;
-
virtual bool haveServerPets() const = 0;
virtual bool haveFamily() const = 0;
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index 511a2ddc7..f68ef11de 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -139,11 +139,6 @@ bool ServerFeatures::haveExtendedDropsPosition() const
return false;
}
-bool ServerFeatures::haveMail() const
-{
- return false;
-}
-
bool ServerFeatures::haveServerPets() const
{
return false;
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index 027aa9b5c..04f178c16 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -76,8 +76,6 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveExtendedDropsPosition() const override final A_CONST;
- bool haveMail() const override final A_CONST;
-
bool haveServerPets() const override final A_CONST;
bool haveFamily() const override final A_CONST;