summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-15 13:09:57 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-15 13:09:57 +0300
commit7d43f25c4e18e977df7a16b63f529fbe6371b9bc (patch)
tree26fbaf7cbe3a2d498f3fa4777a255fba15ff5fba /src/net/tmwa
parent68dfa81376382b4bdc8407e5334ab1787dc39c3f (diff)
downloadplus-7d43f25c4e18e977df7a16b63f529fbe6371b9bc.tar.gz
plus-7d43f25c4e18e977df7a16b63f529fbe6371b9bc.tar.bz2
plus-7d43f25c4e18e977df7a16b63f529fbe6371b9bc.tar.xz
plus-7d43f25c4e18e977df7a16b63f529fbe6371b9bc.zip
Add server feature haveChangePassword.
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 47afbac08..300d4398d 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -229,4 +229,9 @@ bool ServerFeatures::haveMute() const
return false;
}
+bool ServerFeatures::haveChangePassword() const
+{
+ return true;
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index cc7709bd7..71c88cb85 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -111,6 +111,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveExpPacket() const override final;
bool haveMute() const override final;
+
+ bool haveChangePassword() const override final;
};
} // namespace TmwAthena