summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
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 1112f5c0c..8cf172d20 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -185,4 +185,9 @@ bool ServerFeatures::haveNpcWhispers() const
return true;
}
+bool ServerFeatures::haveCreateCharGender() const
+{
+ return serverVersion >= 4;
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index 05e378b83..d91373322 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/serverfeatures.h
@@ -93,6 +93,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveJoinChannel() const override final;
bool haveNpcWhispers() const override final;
+
+ bool haveCreateCharGender() const override final;
};
} // namespace EAthena