summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-12 19:00:39 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-12 19:00:39 +0300
commit77e6c8639ae17554874d2de9fbdca35a99e51765 (patch)
treef5408b23142a7998e377b400c8e16b4370a56236 /src/net/eathena
parent563bb83f0e5380b6be9819456246f0f2901f186c (diff)
downloadmanaplus-77e6c8639ae17554874d2de9fbdca35a99e51765.tar.gz
manaplus-77e6c8639ae17554874d2de9fbdca35a99e51765.tar.bz2
manaplus-77e6c8639ae17554874d2de9fbdca35a99e51765.tar.xz
manaplus-77e6c8639ae17554874d2de9fbdca35a99e51765.zip
Add server feature haveChatChannels.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/serverfeatures.cpp5
-rw-r--r--src/net/eathena/serverfeatures.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp
index af25acc62..bb778037e 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -97,6 +97,11 @@ bool ServerFeatures::haveSpecialChatChannels() const
return false;
}
+bool ServerFeatures::haveChatChannels() const
+{
+ return true;
+}
+
bool ServerFeatures::haveServerIgnore() const
{
return true;
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index a259a5df6..e84aca256 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/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;