[mw-devel] MW3 r1147 - trunk/src

tswsl1989 at sucs.org tswsl1989 at sucs.org
Sat Apr 3 09:41:45 BST 2010


Author: tswsl1989
Date: 2010-04-03 09:41:44 +0100 (Sat, 03 Apr 2010)
New Revision: 1147

Modified:
   trunk/src/uri.c
Log:
Notify user that URI deletion was successful if they don't have changeinfo enabled

Modified: trunk/src/uri.c
===================================================================
--- trunk/src/uri.c	2010-04-02 10:24:19 UTC (rev 1146)
+++ trunk/src/uri.c	2010-04-03 08:41:44 UTC (rev 1147)
@@ -409,6 +409,9 @@
 							free(del_res);
 							snprintf(mesg, MAXTEXTLENGTH-1, "\03304%s has just deleted %s's uri %s [%s] from mwuri", user->name, username, uri, added);
 							broadcast(3, "%s", mesg);
+							if (!(s_changeinfo(user->special))) {
+								printf( "You have just deleted %s's uri %s [%s] from mwuri\n",username,uri,added);
+							}
 							snprintf(mesg, MAXTEXTLENGTH-1, "MWURI %s deleted uri: %s <%s> [%s]",  user->name, username, uri, added);
 							mwlog("%s", mesg);
 						}




More information about the mw-devel mailing list