[mw-devel] URI deletions etc

Tom Lake tswsl1989 at sucs.org
Fri Apr 2 10:41:49 BST 2010


Dez commented on the fact that the URI messages are system messages, not
changes. Patch below :)

Index: uri.c
===================================================================
--- uri.c	(revision 1145)
+++ uri.c	(working copy)
@@ -408,7 +408,7 @@
  						{
  							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(1, "%s", mesg);
+							broadcast(3, "%s", mesg);
  							snprintf(mesg, MAXTEXTLENGTH-1, "MWURI %s deleted uri: %s <%s>
[%s]",  user->name, username, uri, added);
  							mwlog("%s", mesg);
  						}
@@ -503,7 +503,7 @@
  						{
  							free(update_res);
  							snprintf(mesg, MAXTEXTLENGTH-1, "\03304%s has just %sset the %s
flag on %s's uri %s [%s] in mwuri", user->name, flag&flags?"":"un",
desc_str, username, uri, added);
-							broadcast(1, "%s", mesg);
+							broadcast(3, "%s", mesg);
  							snprintf(mesg, MAXTEXTLENGTH-1, "MWURI %s %sset %s flag on uri:
%s <%s> [%s]",  user->name, flag&flags?"":"un", desc_str, username, uri,
added);
  							mwlog("%s", mesg);
  						}




More information about the mw-devel mailing list