Added some new bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2515 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
36f35cff78
commit
d74c6f738a
6 changed files with 203 additions and 5 deletions
|
@ -1228,7 +1228,7 @@ void SVC_GetChallenge (void)
|
|||
}
|
||||
#endif
|
||||
}
|
||||
if (sv_listen_qw.value)
|
||||
if (sv_listen_qw.value || svs.gametype != GT_PROGS)
|
||||
Netchan_OutOfBand(NS_SERVER, net_from, over-buf, buf);
|
||||
|
||||
if (sv_listen_dp.value)
|
||||
|
@ -1532,6 +1532,14 @@ client_t *SVC_DirectConnect(void)
|
|||
|
||||
if (protocol == SCP_QUAKEWORLD) //readd?
|
||||
{
|
||||
if (!sv_listen_qw.value && net_from.type != NA_LOOPBACK)
|
||||
{
|
||||
SV_RejectMessage (SCP_BAD, "QuakeWorld protocols are not permitted on this server.\n");
|
||||
Con_Printf ("* rejected connect from quakeworld\n", version);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
while(!msg_badread)
|
||||
{
|
||||
Cmd_TokenizeString(MSG_ReadStringLine(), false, false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue