diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-04 18:43:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-04 18:43:16 +0300 |
commit | a3310b047fb85052429a979eb0ebd02d47c43964 (patch) | |
tree | fefcc4001bcadad82fa0ebb96e0c18fbfa20b6f7 /src/net/eathena | |
parent | 45cc2ca610613ee824e0549904edb33334b265a7 (diff) | |
download | plus-a3310b047fb85052429a979eb0ebd02d47c43964.tar.gz plus-a3310b047fb85052429a979eb0ebd02d47c43964.tar.bz2 plus-a3310b047fb85052429a979eb0ebd02d47c43964.tar.xz plus-a3310b047fb85052429a979eb0ebd02d47c43964.zip |
Add server feature haveEmailOnDelete.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/serverfeatures.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/serverfeatures.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp index fca96cc4f..1112f5c0c 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -135,6 +135,11 @@ bool ServerFeatures::haveEmailOnRegister() const return serverVersion >= 2; } +bool ServerFeatures::haveEmailOnDelete() const +{ + return serverVersion >= 2; +} + bool ServerFeatures::haveEightDirections() const { return true; diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h index 9965d2271..05e378b83 100644 --- a/src/net/eathena/serverfeatures.h +++ b/src/net/eathena/serverfeatures.h @@ -76,6 +76,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveEmailOnRegister() const override final; + bool haveEmailOnDelete() const override final; + bool haveEightDirections() const override final; bool haveCharRename() const override final; |