[mw-devel] MW3 r1255 - trunk/src

welshbyte at sucs.org welshbyte at sucs.org
Fri May 18 12:02:23 BST 2012


Author: welshbyte
Date: 2012-05-18 12:02:23 +0100 (Fri, 18 May 2012)
New Revision: 1255

Modified:
   trunk/src/talker.c
Log:
Improve some 'not logged on' messages.


Modified: trunk/src/talker.c
===================================================================
--- trunk/src/talker.c	2011-06-27 08:57:43 UTC (rev 1254)
+++ trunk/src/talker.c	2012-05-18 11:02:23 UTC (rev 1255)
@@ -533,7 +533,7 @@
 
 	// check that the excluded person is on
 	if (!ison(argv[1])) {
-	    printf(_("User %s not logged on.\n"), argv[1]);
+	    printf(_("User '%s' is not logged on.\n"), argv[1]);
 	    return;
 	}
 	text[0]=0;
@@ -1593,7 +1593,7 @@
 	{
 		if (count==0)
 		{
-			printf("User %s not logged on.\n",to);
+			printf("User '%s' is not logged on.\n",to);
 		}else
 		{
 			mwlog("SAYTO %s %s",to,text);
@@ -1632,7 +1632,7 @@
 
 	if (count==0)
 	{
-		printf("User %s not logged on.\n",to);
+		printf("User '%s' is not logged on.\n",to);
 	}else
 	{
 		mwlog("WHISPER %s %s",to,text);
@@ -1729,7 +1729,7 @@
 	}
 	if (count==0)
 	{
-		printf("User %s not logged on.\n",to);
+		printf("User '%s' is not logged on.\n",to);
 	}else
 	{
 		if (broadcast)
@@ -1755,7 +1755,7 @@
 	}
 	if (count==0)
 	{
-		printf("User %s not logged on.\n",to);
+		printf("User '%s' is not logged on.\n",to);
 	}else
 	{
 		if (broadcast)




More information about the mw-devel mailing list