summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-18 23:00:48 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-18 23:00:48 +0300
commit9b8b9adbe47861db55c4e9a3d5dad16e4ec8401f (patch)
treea3f6e5c972a8ce8b84d40e400f3dfe842544f9b8 /src/net/tmwa
parent5f4a39884ad8fc44c291de81138b04b25d5be900 (diff)
downloadmanaplus-9b8b9adbe47861db55c4e9a3d5dad16e4ec8401f.tar.gz
manaplus-9b8b9adbe47861db55c4e9a3d5dad16e4ec8401f.tar.bz2
manaplus-9b8b9adbe47861db55c4e9a3d5dad16e4ec8401f.tar.xz
manaplus-9b8b9adbe47861db55c4e9a3d5dad16e4ec8401f.zip
Add server feature haveOnlineList.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/serverfeatures.cpp5
-rw-r--r--src/net/tmwa/serverfeatures.h2
2 files changed, 7 insertions, 0 deletions
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;