diff options
-rw-r--r-- | src/gui/windows/whoisonline.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/serverfeatures.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/serverfeatures.h | 2 | ||||
-rw-r--r-- | src/net/serverfeatures.h | 2 | ||||
-rw-r--r-- | src/net/tmwa/serverfeatures.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/serverfeatures.h | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp index 7244e4195..f06285984 100644 --- a/src/gui/windows/whoisonline.cpp +++ b/src/gui/windows/whoisonline.cpp @@ -112,7 +112,7 @@ WhoIsOnline::WhoIsOnline() : mShowLevel(false), mUpdateOnlineList(config.getBoolValue("updateOnlineList")), mGroupFriends(true), - mServerSideList(serverFeatures->haveOnlineList()) + mServerSideList(serverFeatures->haveServerOnlineList()) { mCurlError[0] = 0; setWindowName("WhoIsOnline"); diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp index a35fb9655..afed9a43b 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -32,7 +32,7 @@ ServerFeatures::ServerFeatures() serverFeatures = this; } -bool ServerFeatures::haveOnlineList() const +bool ServerFeatures::haveServerOnlineList() const { return false; } diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h index cd2ce89dd..1eef4f5e2 100644 --- a/src/net/eathena/serverfeatures.h +++ b/src/net/eathena/serverfeatures.h @@ -34,7 +34,7 @@ class ServerFeatures final : public Net::ServerFeatures A_DELETE_COPY(ServerFeatures) - bool haveOnlineList() const override final; + bool haveServerOnlineList() const override final; bool havePartyNickInvite() const override final; diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h index 5da521ea2..66cd406ab 100644 --- a/src/net/serverfeatures.h +++ b/src/net/serverfeatures.h @@ -31,7 +31,7 @@ class ServerFeatures notfinal virtual ~ServerFeatures() { } - virtual bool haveOnlineList() const = 0; + virtual bool haveServerOnlineList() const = 0; virtual bool havePartyNickInvite() const = 0; diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp index 912293b8f..4e33ccce1 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -34,7 +34,7 @@ ServerFeatures::ServerFeatures() serverFeatures = this; } -bool ServerFeatures::haveOnlineList() const +bool ServerFeatures::haveServerOnlineList() const { return serverVersion >= 3; } diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h index ab3f4617b..0d0ce5ee4 100644 --- a/src/net/tmwa/serverfeatures.h +++ b/src/net/tmwa/serverfeatures.h @@ -34,7 +34,7 @@ class ServerFeatures final : public Net::ServerFeatures A_DELETE_COPY(ServerFeatures) - bool haveOnlineList() const override final; + bool haveServerOnlineList() const override final; bool havePartyNickInvite() const override final; |