summaryrefslogtreecommitdiff
path: root/src/net/worldinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/worldinfo.h')
-rw-r--r--src/net/worldinfo.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/worldinfo.h b/src/net/worldinfo.h
index 65f8ae978..ebc45343a 100644
--- a/src/net/worldinfo.h
+++ b/src/net/worldinfo.h
@@ -28,6 +28,15 @@
struct WorldInfo final
{
+ WorldInfo() :
+ address(0),
+ name(),
+ port(0),
+ online_users(0),
+ updateHost()
+ {
+ }
+
int address;
std::string name;
short port;