[cvslog] (2002-08-25 05:13:43 UTC) Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Sun Aug 25 00:14:01 CST 2002


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2002-08-25 05:13:43 UTC
Commited by: Will Buckner <wcc at techmonkeys.org>

Modified files:
     doc/UPDATES1.6 src/patch.h src/mod/share.mod/share.c

Log message:

Cosmetic changes to share_stick_[exempt/invite/ban].

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.398 eggdrop1.6/doc/UPDATES1.6:1.399
--- eggdrop1.6/doc/UPDATES1.6:1.398	Sat Aug 24 23:44:44 2002
+++ eggdrop1.6/doc/UPDATES1.6	Sun Aug 25 00:13:33 2002
@@ -1,10 +1,11 @@
-$Id: UPDATES1.6,v 1.398 2002/08/25 04:44:44 wcc Exp $
+$Id: UPDATES1.6,v 1.399 2002/08/25 05:13:33 wcc Exp $
 
 Changes in Eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.13
 Found by  Fixed by  What...
+          Wcc       cosmetic changes to share_stick_[exempt/invite/ban]
           TaKeDa    msg_key and msg_invite did not work properly for !channels
           BarkerJr  show the number of hops in .trace's output
           Mo-Ize    use the proper dynamic lib extention on Mac OSX
Index: eggdrop1.6/src/mod/share.mod/share.c
diff -u eggdrop1.6/src/mod/share.mod/share.c:1.64 eggdrop1.6/src/mod/share.mod/share.c:1.65
--- eggdrop1.6/src/mod/share.mod/share.c:1.64	Thu Jun  6 13:52:25 2002
+++ eggdrop1.6/src/mod/share.mod/share.c	Sun Aug 25 00:13:33 2002
@@ -1,7 +1,7 @@
 /*
  * share.c -- part of share.mod
  *
- * $Id: share.c,v 1.64 2002/06/06 18:52:25 wcc Exp $
+ * $Id: share.c,v 1.65 2002/08/25 05:13:33 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -194,8 +194,8 @@
     noshare = 1;
     if (!par[0]) {		/* Global ban */
       if (u_setsticky_ban(NULL, host, yn) > 0) {
-	putlog(LOG_CMDS, "*", "%s: stick %s %c", dcc[idx].nick, host,
-	       yn ? 'y' : 'n');
+	putlog(LOG_CMDS, "*", "%s: %s %s", dcc[idx].nick,
+               (yn) ? "stick" : "unstick", host);
 	shareout_but(NULL, idx, "s %s %d\n", host, yn);
       }
     } else {
@@ -207,14 +207,14 @@
                               (cr->flags & BOT_AGGRESSIVE))) ||
                             (bot_flags(dcc[idx].user) & BOT_GLOBAL)))
 	if (u_setsticky_ban(chan, host, yn) > 0) {
-	  putlog(LOG_CMDS, "*", "%s: stick %s %c %s", dcc[idx].nick, host,
-		 yn ? 'y' : 'n', par);
+	  putlog(LOG_CMDS, "*", "%s: %s %s %s", dcc[idx].nick,
+                 (yn) ? "stick" : "unstick", host, par);
 	  shareout_but(chan, idx, "s %s %d %s\n", host, yn, chan->dname);
 	  noshare = 0;
 	  return;
 	}
-      putlog(LOG_CMDS, "*", "Rejecting invalid sticky ban: %s on %s, %c",
-	     host, par, yn ? 'y' : 'n');
+      putlog(LOG_CMDS, "*", "Rejecting invalid sticky ban: %s on %s%s",
+	     host, par, yn ? "" : "(unstick)");
     }
     noshare = 0;
   }
@@ -234,8 +234,8 @@
     noshare = 1;
     if (!par[0]) {		/* Global exempt */
       if (u_setsticky_exempt(NULL, host, yn) > 0) {
-	putlog(LOG_CMDS, "*", "%s: stick %s %c", dcc[idx].nick, host,
-	       yn ? 'y' : 'n');
+	putlog(LOG_CMDS, "*", "%s: %s %s", dcc[idx].nick,
+               (yn) ? "stick" : "unstick", host);
 	shareout_but(NULL, idx, "se %s %d\n", host, yn);
       }
     } else {
@@ -247,14 +247,14 @@
                               (cr->flags & BOT_AGGRESSIVE))) ||
                             (bot_flags(dcc[idx].user) & BOT_GLOBAL)))
 	if (u_setsticky_exempt(chan, host, yn) > 0) {
-	  putlog(LOG_CMDS, "*", "%s: stick %s %c %s", dcc[idx].nick, host,
-		 yn ? 'y' : 'n', par);
+	  putlog(LOG_CMDS, "*", "%s: %s %s %s", dcc[idx].nick,
+                 (yn) ? "stick" : "unstick", host, par);
 	  shareout_but(chan, idx, "se %s %d %s\n", host, yn, chan->dname);
 	  noshare = 0;
 	  return;
 	}
-      putlog(LOG_CMDS, "*", "Rejecting invalid sticky exempt: %s on %s, %c",
-	     host, par, yn ? 'y' : 'n');
+      putlog(LOG_CMDS, "*", "Rejecting invalid sticky exempt: %s on %s%s",
+	     host, par, yn ? "" : "(unstick)");
     }
     noshare = 0;
   }
@@ -273,8 +273,8 @@
     noshare = 1;
     if (!par[0]) {		/* Global invite */
       if (u_setsticky_invite(NULL, host, yn) > 0) {
- 	    putlog(LOG_CMDS, "*", "%s: stick %s %c", dcc[idx].nick, host,
- 		   yn ? 'y' : 'n');
+ 	    putlog(LOG_CMDS, "*", "%s: %s %s", dcc[idx].nick,
+               (yn) ? "stick" : "unstick", host);
  	    shareout_but(NULL, idx, "sInv %s %d\n", host, yn);
       }
     } else {
@@ -286,14 +286,14 @@
                               (cr->flags & BOT_AGGRESSIVE))) ||
                             (bot_flags(dcc[idx].user) & BOT_GLOBAL)))
 	if (u_setsticky_invite(chan, host, yn) > 0) {
-	  putlog(LOG_CMDS, "*", "%s: stick %s %c %s", dcc[idx].nick, host,
-		 yn ? 'y' : 'n', par);
+	  putlog(LOG_CMDS, "*", "%s: %s %s %s", dcc[idx].nick,
+                 (yn) ? "stick" : "unstick", host, par);
 	  shareout_but(chan, idx, "sInv %s %d %s\n", host, yn, chan->dname);
 	  noshare = 0;
 	  return;
 	}
-      putlog(LOG_CMDS, "*", "Rejecting invalid sticky invite: %s on %s, %c",
-	     host, par, yn ? 'y' : 'n');
+      putlog(LOG_CMDS, "*", "Rejecting invalid sticky invite: %s on %s%s",
+	     host, par, yn ? "" : "(unstick)");
     }
     noshare = 0;
   }
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.812 eggdrop1.6/src/patch.h:1.813
--- eggdrop1.6/src/patch.h:1.812	Sat Aug 24 23:44:44 2002
+++ eggdrop1.6/src/patch.h	Sun Aug 25 00:13:33 2002
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.812 2002/08/25 04:44:44 wcc Exp $
+ * $Id: patch.h,v 1.813 2002/08/25 05:13:33 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1030250406");		/* current unixtime */
+patch("1030252186");		/* current unixtime */
 /*
  *
  *
  */
-patch("invite_fix");
+patch("sharestick_cosmetic");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list