summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-03 13:03:59 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-03 13:03:59 +0300
commita7f634fe64f9ec9064e59eee4338d58100f605fb (patch)
tree1fe40ee495ce86df5b4226c0f2c7b83a09404b01 /src/net/eathena
parent36953465c0c740f29df24d7013a943eac88523a6 (diff)
downloadplus-a7f634fe64f9ec9064e59eee4338d58100f605fb.tar.gz
plus-a7f634fe64f9ec9064e59eee4338d58100f605fb.tar.bz2
plus-a7f634fe64f9ec9064e59eee4338d58100f605fb.tar.xz
plus-a7f634fe64f9ec9064e59eee4338d58100f605fb.zip
Add server feature haveJoinChannel.
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 d0557b03f..73aac6ea7 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -170,4 +170,9 @@ bool ServerFeatures::haveNpcGender() const
return serverVersion >= 3;
}
+bool ServerFeatures::haveJoinChannel() const
+{
+ return serverVersion >= 3;
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index 735e19913..adf8be2a1 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/serverfeatures.h
@@ -87,6 +87,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveMapServerVersion() const override final;
bool haveNpcGender() const override final;
+
+ bool haveJoinChannel() const override final;
};
} // namespace EAthena