summaryrefslogtreecommitdiffstats
path: root/src/Server.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Server.h')
-rw-r--r--src/Server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Server.h b/src/Server.h
index 6fa2002e4..479fbb865 100644
--- a/src/Server.h
+++ b/src/Server.h
@@ -96,6 +96,8 @@ public:
const AString & GetResourcePackUrl(void) { return m_ResourcePackUrl; }
+ std::string_view GetCustomRedirectUrl(void) { return m_CustomRedirectUrl; }
+
bool Start(void);
bool Command(cClientHandle & a_Client, AString & a_Cmd);
@@ -222,6 +224,7 @@ private:
size_t m_MaxPlayers;
bool m_bIsHardcore;
AString m_ResourcePackUrl;
+ AString m_CustomRedirectUrl;
/** Map of protocol version to Forge mods (map of ModName -> ModVersionString) */
std::map<UInt32, AStringMap> m_ForgeModsByVersion;