summaryrefslogtreecommitdiff
path: root/src/net/tmwa/serverfeatures.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-16 21:52:47 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-16 21:52:47 +0300
commit5f9e53cb962078bf2d13786157fbf31465d4e864 (patch)
tree7c1f9b3c3a08d8149175359e8f2beae751bb7cc5 /src/net/tmwa/serverfeatures.cpp
parentf91ad9a0c39ae1c537f2769f1fdf4b0a59e8bf91 (diff)
downloadManaVerse-5f9e53cb962078bf2d13786157fbf31465d4e864.tar.gz
ManaVerse-5f9e53cb962078bf2d13786157fbf31465d4e864.tar.bz2
ManaVerse-5f9e53cb962078bf2d13786157fbf31465d4e864.tar.xz
ManaVerse-5f9e53cb962078bf2d13786157fbf31465d4e864.zip
Add server feature haveEmailOnRegister.
Diffstat (limited to 'src/net/tmwa/serverfeatures.cpp')
-rw-r--r--src/net/tmwa/serverfeatures.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index aaba467ac..73791e6c8 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -119,4 +119,9 @@ bool ServerFeatures::haveMonsterAttackRange() const
return serverVersion > 0;
}
+bool ServerFeatures::haveEmailOnRegister() const
+{
+ return serverVersion >= 7;
+}
+
} // namespace TmwAthena