summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-16 17:45:17 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-16 17:45:17 +0300
commitc79a9b4ffa2762be199b85a78cd798d4bccc9b1b (patch)
tree6af5203fb1462ac1cb10a0c081021f89a12863bd /src/net/tmwa
parent72cc15bc148acc2484a2be3b6e7da322735aca95 (diff)
downloadplus-c79a9b4ffa2762be199b85a78cd798d4bccc9b1b.tar.gz
plus-c79a9b4ffa2762be199b85a78cd798d4bccc9b1b.tar.bz2
plus-c79a9b4ffa2762be199b85a78cd798d4bccc9b1b.tar.xz
plus-c79a9b4ffa2762be199b85a78cd798d4bccc9b1b.zip
Add server feature haveIncompleteChatMessages.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/serverfeatures.cpp5
-rw-r--r--src/net/tmwa/serverfeatures.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index 498d19249..31b7a16ed 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -74,4 +74,9 @@ bool ServerFeatures::haveNativeGuilds() const
return tmwServerVersion <= 0;
}
+bool ServerFeatures::haveIncompleteChatMessages() const
+{
+ return tmwServerVersion > 0;
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index 3aba539dd..916fbf3db 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -49,6 +49,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveBrokenPlayerAttackDistance() const override final;
bool haveNativeGuilds() const override final;
+
+ bool haveIncompleteChatMessages() const override final;
};
} // namespace TmwAthena