diff --git a/engine/server/sv_main.c b/engine/server/sv_main.c index 0286a2501..f2e22ebc9 100644 --- a/engine/server/sv_main.c +++ b/engine/server/sv_main.c @@ -1631,7 +1631,7 @@ client_t *SVC_DirectConnect(void) Q_strncpyz (userinfo[0], Cmd_Argv(1), sizeof(userinfo[0])-1); switch (atoi(Info_ValueForKey(userinfo[0], "protocol"))) - { + { case 68: //regular q3 1.32 break; // case 43: //q3 1.11 (most 'recent' demo) @@ -1737,6 +1737,12 @@ client_t *SVC_DirectConnect(void) Q_strncpyz (userinfo[i], Cmd_Argv(4+i), sizeof(userinfo[i])-1); } + for (i = 0; i < numssclients; i++) + { + //don't let users exploit mods made for mvdsv instead of FTE + Info_RemoveKey (userinfo[i], "*VIP"); + } + if (protocol == SCP_QUAKEWORLD) //readd? { if (!sv_listen_qw.value && net_from.type != NA_LOOPBACK)