diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-18 23:00:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-18 23:00:48 +0300 |
commit | 9b8b9adbe47861db55c4e9a3d5dad16e4ec8401f (patch) | |
tree | a3f6e5c972a8ce8b84d40e400f3dfe842544f9b8 /src/net/tmwa | |
parent | 5f4a39884ad8fc44c291de81138b04b25d5be900 (diff) | |
download | mv-9b8b9adbe47861db55c4e9a3d5dad16e4ec8401f.tar.gz mv-9b8b9adbe47861db55c4e9a3d5dad16e4ec8401f.tar.bz2 mv-9b8b9adbe47861db55c4e9a3d5dad16e4ec8401f.tar.xz mv-9b8b9adbe47861db55c4e9a3d5dad16e4ec8401f.zip |
Add server feature haveOnlineList.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/serverfeatures.cpp | 5 | ||||
-rw-r--r-- | src/net/tmwa/serverfeatures.h | 2 |
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; |