summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-20 18:02:12 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-20 18:02:12 +0300
commitea6ec430fe08e78ff88bc5021936a0f3655685a2 (patch)
tree40d964a84561963d5c1d40d8f1edcd2802bf27fc /src/net
parent4edf9cac82776c5333afaa647f7a982383837406 (diff)
downloadmv-ea6ec430fe08e78ff88bc5021936a0f3655685a2.tar.gz
mv-ea6ec430fe08e78ff88bc5021936a0f3655685a2.tar.bz2
mv-ea6ec430fe08e78ff88bc5021936a0f3655685a2.tar.xz
mv-ea6ec430fe08e78ff88bc5021936a0f3655685a2.zip
Remove unused server feature haveSpecialChatChannels.
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 8fab8eba7..79d2e10bf 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -95,11 +95,6 @@ bool ServerFeatures::haveLookSelection() const
return serverVersion >= 4;
}
-bool ServerFeatures::haveSpecialChatChannels() const
-{
- return false;
-}
-
bool ServerFeatures::haveChatChannels() const
{
return true;
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index 120c973c2..70faf70c3 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/serverfeatures.h
@@ -58,8 +58,6 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveLookSelection() const override final;
- bool haveSpecialChatChannels() const override final;
-
bool haveChatChannels() const override final;
bool haveServerIgnore() const override final;
diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h
index 881503005..28ea97782 100644
--- a/src/net/serverfeatures.h
+++ b/src/net/serverfeatures.h
@@ -55,8 +55,6 @@ class ServerFeatures notfinal
virtual bool haveLookSelection() const = 0;
- virtual bool haveSpecialChatChannels() const = 0;
-
virtual bool haveChatChannels() const = 0;
virtual bool haveServerIgnore() const = 0;
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index 982240966..de45ad52d 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -94,11 +94,6 @@ bool ServerFeatures::haveLookSelection() const
return serverVersion >= 9;
}
-bool ServerFeatures::haveSpecialChatChannels() const
-{
- return serverVersion >= 8;
-}
-
bool ServerFeatures::haveChatChannels() const
{
return false;
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index a1c51f7b8..0b8beab9a 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -58,8 +58,6 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveLookSelection() const override final;
- bool haveSpecialChatChannels() const override final;
-
bool haveChatChannels() const override final;
bool haveServerIgnore() const override final;