summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-01 21:30:27 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-01 21:30:27 +0300
commita12cecc9df169c16959ea3ddf3e22351e8248215 (patch)
treeaf7333dd960629ff0ef4be82d9816234db653b69 /src/net
parenta173e97258d7ac20fcfa8745ea772d2ba56b9d68 (diff)
downloadplus-a12cecc9df169c16959ea3ddf3e22351e8248215.tar.gz
plus-a12cecc9df169c16959ea3ddf3e22351e8248215.tar.bz2
plus-a12cecc9df169c16959ea3ddf3e22351e8248215.tar.xz
plus-a12cecc9df169c16959ea3ddf3e22351e8248215.zip
Remove ServerFeatures haveMute because it depend only 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 d83f2803e..7ca6c3b27 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -131,11 +131,6 @@ bool ServerFeatures::haveServerWarpNames() const
return serverVersion == 0;
}
-bool ServerFeatures::haveMute() const
-{
- return true;
-}
-
bool ServerFeatures::haveTeamId() const
{
return false;
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index 8fde10109..ce50ca6ca 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/serverfeatures.h
@@ -72,8 +72,6 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveServerWarpNames() const override final;
- bool haveMute() const override final A_CONST;
-
bool haveTeamId() const override final A_CONST;
bool haveExtendedRiding() const override final;
diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h
index e80257eee..7b1fab08a 100644
--- a/src/net/serverfeatures.h
+++ b/src/net/serverfeatures.h
@@ -74,8 +74,6 @@ class ServerFeatures notfinal
virtual bool haveServerWarpNames() const = 0;
- virtual bool haveMute() const = 0;
-
virtual bool haveTeamId() const = 0;
virtual bool haveExtendedRiding() const = 0;
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index cfd2f7c56..e7e523be6 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -129,11 +129,6 @@ bool ServerFeatures::haveServerWarpNames() const
return false;
}
-bool ServerFeatures::haveMute() const
-{
- return false;
-}
-
bool ServerFeatures::haveTeamId() const
{
return true;
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index 1d7894b0c..5cf1be343 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -72,8 +72,6 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveServerWarpNames() const override final A_CONST;
- bool haveMute() const override final A_CONST;
-
bool haveTeamId() const override final;
bool haveExtendedRiding() const override final A_CONST;