summaryrefslogtreecommitdiff
path: root/src/server/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/main.c')
-rw-r--r--src/server/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/main.c b/src/server/main.c
index fd1edf4..377bec7 100644
--- a/src/server/main.c
+++ b/src/server/main.c
@@ -1992,7 +1992,7 @@ void SV_Init(void)
SV_RegisterSavegames();
- Cvar_Get("protocol", va("%i", PROTOCOL_VERSION_DEFAULT), CVAR_SERVERINFO | CVAR_ROM);
+ Cvar_Get("protocol", STRINGIFY(PROTOCOL_VERSION_DEFAULT), CVAR_SERVERINFO | CVAR_ROM);
Cvar_Get("skill", "1", CVAR_LATCH);
Cvar_Get("deathmatch", "1", CVAR_SERVERINFO | CVAR_LATCH);