diff options
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/chathandler.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/serverfeatures.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/serverfeatures.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp index fde774670..051443318 100644 --- a/src/net/tmwa/chathandler.cpp +++ b/src/net/tmwa/chathandler.cpp @@ -126,7 +126,7 @@ void ChatHandler::talk(const std::string &restrict text, const std::string mes = std::string(localPlayer->getName()).append( " : ").append(text); - if (serverFeatures->haveChatChannels() && channel.size() == 3) + if (serverFeatures->haveSpecialChatChannels() && channel.size() == 3) { createOutPacket(CMSG_CHAT_MESSAGE2); // Added + 1 in order to let eAthena parse admin commands correctly diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp index c94c093a4..b1556fbdf 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -94,7 +94,7 @@ bool ServerFeatures::haveLookSelection() const return serverVersion >= 9; } -bool ServerFeatures::haveChatChannels() const +bool ServerFeatures::haveSpecialChatChannels() const { return serverVersion >= 8; } diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h index 97c42d1e4..8dc52bc15 100644 --- a/src/net/tmwa/serverfeatures.h +++ b/src/net/tmwa/serverfeatures.h @@ -58,7 +58,7 @@ class ServerFeatures final : public Net::ServerFeatures bool haveLookSelection() const override final; - bool haveChatChannels() const override final; + bool haveSpecialChatChannels() const override final; bool haveServerIgnore() const override final; |