From 5508f21d2b040e2e25e0352e221d19c2a45a0deb Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Mon, 14 Jul 2014 16:38:44 +0200 Subject: stop accessing the hostname, the current username and the architecture/platform/OS information use "UnnamedPlayer" as the default player name --- src/sys/sys_unix.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/sys/sys_unix.c') diff --git a/src/sys/sys_unix.c b/src/sys/sys_unix.c index bc3cacf5..fa1efe0c 100644 --- a/src/sys/sys_unix.c +++ b/src/sys/sys_unix.c @@ -128,21 +128,6 @@ qboolean Sys_RandomBytes( byte *string, int len ) return qtrue; } -/* -================== -Sys_GetCurrentUser -================== -*/ -char *Sys_GetCurrentUser( void ) -{ - struct passwd *p; - - if ( (p = getpwuid( getuid() )) == NULL ) { - return "player"; - } - return p->pw_name; -} - #define MEM_THRESHOLD 96*1024*1024 /* -- cgit