[mw-devel] MW3 r1058 - trunk/src

arthur at sucs.org arthur at sucs.org
Wed Oct 8 17:04:35 BST 2008


Author: arthur
Date: 2008-10-08 17:04:34 +0100 (Wed, 08 Oct 2008)
New Revision: 1058

Modified:
   trunk/src/edit.c
Log:
dont show status in 'user view' unless its set, fixes #36


Modified: trunk/src/edit.c
===================================================================
--- trunk/src/edit.c	2008-10-08 14:08:13 UTC (rev 1057)
+++ trunk/src/edit.c	2008-10-08 16:04:34 UTC (rev 1058)
@@ -461,6 +461,7 @@
 		timeon=usr.lastlogout;
 		printf(_("Last Login: %s"),ctime(&timeon));
 		time_on(usr.timeused);
+		if (usr.dowhen != 0 && usr.doing[0] != 0)
 		printf(_("Status: %s (%s ago)\n"), usr.doing, itime(time(0)-usr.dowhen));
 	} else
 	if (stringcmp(args,"clearignore",2))





More information about the mw-devel mailing list