summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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, 16 insertions, 0 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp
index afed9a43b..8a1308506 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -37,6 +37,11 @@ bool ServerFeatures::haveServerOnlineList() const
return false;
}
+bool ServerFeatures::haveOnlineList() const
+{
+ return false;
+}
+
bool ServerFeatures::havePartyNickInvite() const
{
return true;
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index 1eef4f5e2..842e1ce16 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/serverfeatures.h
@@ -36,6 +36,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveServerOnlineList() const override final;
+ bool haveOnlineList() const override final;
+
bool havePartyNickInvite() const override final;
bool haveChangePartyLeader() const override final;
diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h
index 66cd406ab..9a39a2d52 100644
--- a/src/net/serverfeatures.h
+++ b/src/net/serverfeatures.h
@@ -33,6 +33,8 @@ class ServerFeatures notfinal
virtual bool haveServerOnlineList() const = 0;
+ virtual bool haveOnlineList() const = 0;
+
virtual bool havePartyNickInvite() const = 0;
virtual bool haveChangePartyLeader() const = 0;
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index 4e33ccce1..5177ac7cb 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -39,6 +39,11 @@ bool ServerFeatures::haveServerOnlineList() const
return serverVersion >= 3;
}
+bool ServerFeatures::haveOnlineList() const
+{
+ return true;
+}
+
bool ServerFeatures::havePartyNickInvite() const
{
return false;
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index 0d0ce5ee4..7e71932eb 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -36,6 +36,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveServerOnlineList() const override final;
+ bool haveOnlineList() const override final;
+
bool havePartyNickInvite() const override final;
bool haveChangePartyLeader() const override final;