summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-08 18:06:17 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-08 18:06:17 +0300
commitdd77c2e6a62ba20b0887f2b3ea39b8f748f44ec7 (patch)
treef709b4521b764b97c60acf619f6d44c72eb309af /src/net/eathena
parent6303e605ef23003aabace85cde3f04574f1fb05c (diff)
downloadmv-dd77c2e6a62ba20b0887f2b3ea39b8f748f44ec7.tar.gz
mv-dd77c2e6a62ba20b0887f2b3ea39b8f748f44ec7.tar.bz2
mv-dd77c2e6a62ba20b0887f2b3ea39b8f748f44ec7.tar.xz
mv-dd77c2e6a62ba20b0887f2b3ea39b8f748f44ec7.zip
Add server feature haveNpcWhispers.
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 73aac6ea7..6b83835cd 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -175,4 +175,9 @@ bool ServerFeatures::haveJoinChannel() const
return serverVersion >= 3;
}
+bool ServerFeatures::haveNpcWhispers() const
+{
+ return true;
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index adf8be2a1..b1b6980a9 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/serverfeatures.h
@@ -89,6 +89,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveNpcGender() const override final;
bool haveJoinChannel() const override final;
+
+ bool haveNpcWhispers() const override final;
};
} // namespace EAthena