This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.5a
in repository iortcw.

commit 146b4b5e1ea1202f5e82ce73f6b5aa80e367816c
Author: MAN-AT-ARMS <[email protected]>
Date:   Sat May 7 11:19:21 2016 -0400

    MP: Allow empty CD-Key/GUID on LAN server
---
 MP/code/server/sv_client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MP/code/server/sv_client.c b/MP/code/server/sv_client.c
index 8151c81..5cf1f7d 100644
--- a/MP/code/server/sv_client.c
+++ b/MP/code/server/sv_client.c
@@ -364,7 +364,7 @@ void SV_DirectConnect( netadr_t from ) {
        // Check for GUID
        guid = Info_ValueForKey( userinfo, "cl_guid" );
 
-       if ( !sv_allowAnonymous->integer ) {
+       if ( !sv_allowAnonymous->integer && !Sys_IsLANAddress( from ) ) {
                if ( !Q_stricmp( guid, "NO_GUID" ) ) {
                        NET_OutOfBandPrint(NS_SERVER, from, "print\nEmpty 
CD-Key or GUID not permitted on server.\n");
                        return;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/iortcw.git

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to