summaryrefslogtreecommitdiff
path: root/src/net/tmwa/serverfeatures.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-16 16:58:57 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-16 16:58:57 +0300
commit21de2b88329859b8b49aa9d1bd818e8da65e3b11 (patch)
treedfcafb474be95087826ffe91aa7c63d4de35065a /src/net/tmwa/serverfeatures.cpp
parent2b3b773d1b902eb0797e2d9fc034d63559af87a3 (diff)
downloadplus-21de2b88329859b8b49aa9d1bd818e8da65e3b11.tar.gz
plus-21de2b88329859b8b49aa9d1bd818e8da65e3b11.tar.bz2
plus-21de2b88329859b8b49aa9d1bd818e8da65e3b11.tar.xz
plus-21de2b88329859b8b49aa9d1bd818e8da65e3b11.zip
Add server feature haveTeamId.
Diffstat (limited to 'src/net/tmwa/serverfeatures.cpp')
-rw-r--r--src/net/tmwa/serverfeatures.cpp5
1 files changed, 5 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