summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-01 18:45:23 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-01 18:45:23 +0300
commit24b60886fd34770af1b97a36df72c58c4f73539f (patch)
tree83081e9eac30254149eb53f2dd9b07778a95c34b /src/net
parent89bc2ec72aa3713fc5a02ec1fcc4ea826043e9c3 (diff)
downloadmv-24b60886fd34770af1b97a36df72c58c4f73539f.tar.gz
mv-24b60886fd34770af1b97a36df72c58c4f73539f.tar.bz2
mv-24b60886fd34770af1b97a36df72c58c4f73539f.tar.xz
mv-24b60886fd34770af1b97a36df72c58c4f73539f.zip
Remove ServerFeatures haveCharRename 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 bd33ec0c3..0cf04cc4a 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -91,11 +91,6 @@ bool ServerFeatures::haveEmailOnDelete() const
return serverVersion > 0;
}
-bool ServerFeatures::haveCharRename() const
-{
- return true;
-}
-
bool ServerFeatures::haveBankApi() const
{
return true;
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index 52511ea74..b372bfb8f 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/serverfeatures.h
@@ -56,8 +56,6 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveEmailOnDelete() const override final;
- bool haveCharRename() const override final A_CONST;
-
bool haveBankApi() const override final A_CONST;
bool haveServerVersion() const override final;
diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h
index 391edf9f2..6cc6314ba 100644
--- a/src/net/serverfeatures.h
+++ b/src/net/serverfeatures.h
@@ -58,8 +58,6 @@ class ServerFeatures notfinal
virtual bool haveEmailOnDelete() const = 0;
- virtual bool haveCharRename() const = 0;
-
virtual bool haveBankApi() const = 0;
virtual bool haveServerVersion() const = 0;
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index bf0f370b1..8e1453c9d 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -89,11 +89,6 @@ bool ServerFeatures::haveEmailOnDelete() const
return false;
}
-bool ServerFeatures::haveCharRename() const
-{
- return false;
-}
-
bool ServerFeatures::haveBankApi() const
{
return false;
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index b21faf69a..edf3c2864 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -56,8 +56,6 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveEmailOnDelete() const override final A_CONST;
- bool haveCharRename() const override final A_CONST;
-
bool haveBankApi() const override final A_CONST;
bool haveServerVersion() const override final A_CONST;