diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-12 19:00:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-12 19:00:39 +0300 |
commit | 77e6c8639ae17554874d2de9fbdca35a99e51765 (patch) | |
tree | f5408b23142a7998e377b400c8e16b4370a56236 /src/net/tmwa | |
parent | 563bb83f0e5380b6be9819456246f0f2901f186c (diff) | |
download | mv-77e6c8639ae17554874d2de9fbdca35a99e51765.tar.gz mv-77e6c8639ae17554874d2de9fbdca35a99e51765.tar.bz2 mv-77e6c8639ae17554874d2de9fbdca35a99e51765.tar.xz mv-77e6c8639ae17554874d2de9fbdca35a99e51765.zip |
Add server feature haveChatChannels.
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 b1556fbdf..3ab0dc600 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -99,6 +99,11 @@ bool ServerFeatures::haveSpecialChatChannels() const return serverVersion >= 8; } +bool ServerFeatures::haveChatChannels() const +{ + return false; +} + bool ServerFeatures::haveServerIgnore() const { return tmwServerVersion == 0; diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h index 8dc52bc15..0194173b7 100644 --- a/src/net/tmwa/serverfeatures.h +++ b/src/net/tmwa/serverfeatures.h @@ -60,6 +60,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveSpecialChatChannels() const override final; + bool haveChatChannels() const override final; + bool haveServerIgnore() const override final; bool haveMove3() const override final; |