diff options
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 e19f58d86..982240966 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -234,4 +234,9 @@ bool ServerFeatures::haveChangePassword() const return true; } +bool ServerFeatures::haveTeamId() const +{ + return tmwServerVersion > 0; +} + } // namespace TmwAthena diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h index 71c88cb85..a1c51f7b8 100644 --- a/src/net/tmwa/serverfeatures.h +++ b/src/net/tmwa/serverfeatures.h @@ -113,6 +113,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveMute() const override final; bool haveChangePassword() const override final; + + bool haveTeamId() const override final; }; } // namespace TmwAthena |