[mw-devel] MW3 r1094 - trunk/src

welshbyte at sucs.org welshbyte at sucs.org
Wed Oct 28 13:54:18 GMT 2009


Author: welshbyte
Date: 2009-10-28 13:54:17 +0000 (Wed, 28 Oct 2009)
New Revision: 1094

Modified:
   trunk/src/user.c
Log:
bbs is uid 119. If we're going to hardcode these things, we might as well get it right.


Modified: trunk/src/user.c
===================================================================
--- trunk/src/user.c	2009-10-27 17:29:34 UTC (rev 1093)
+++ trunk/src/user.c	2009-10-28 13:54:17 UTC (rev 1094)
@@ -342,7 +342,7 @@
 		printf(_("Status set to [%s]\n"),buff);
 	/* if you have a SUCS account, allow auto-registering if the logon name matches the sucs name */
 	/* a special restricted uid */
-	}else if (getuid()!=200 && !internet && getmylogin()!=NULL && !strcasecmp(getmylogin(),tmp->name))
+	}else if (getuid()!=119 && !internet && getmylogin()!=NULL && !strcasecmp(getmylogin(),tmp->name))
 	{
 		tmp->status|=1;
 		tmp->groups|=1;




More information about the mw-devel mailing list