1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +00: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
No known key found for this signature in database
GPG key ID: EFAA458E8C153987
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;