1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-12-21 14:15:34 +01:00

Disable confirmation dialog on localhost

This commit is contained in:
rubenwardy
2019-02-03 12:31:55 +00:00
committed by Loic Blot
parent b7e1bca28c
commit 7796a3118d
3 changed files with 21 additions and 3 deletions

View File

@@ -66,6 +66,7 @@ public:
void setPort(unsigned short port);
void print(std::ostream *s) const;
std::string serializeString() const;
bool isLocalhost() const;
private:
unsigned int m_addr_family = 0;