summaryrefslogtreecommitdiff
path: root/src/d_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/d_main.c')
-rw-r--r--src/d_main.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/d_main.c b/src/d_main.c
index 378cc5f3..22fdb142 100644
--- a/src/d_main.c
+++ b/src/d_main.c
@@ -844,6 +844,18 @@ void D_DoomMain (void)
}
//!
+ // @category net
+ //
+ // Query the Internet master server for a global list of active
+ // servers.
+ //
+
+ if (M_CheckParm("-masterquery"))
+ {
+ NET_MasterQuery();
+ }
+
+ //!
// @arg <address>
// @category net
//