[cvslog] (2003-08-16 20:12:46 UTC) Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Sat Aug 16 14:12:46 CST 2003


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2003-08-16 20:12:46 UTC
Commited by: Will Buckner <wcc at techmonkeys.org>

Modified files:
     doc/UPDATES1.6 src/dcc.c src/modules.c src/patch.h src/proto.h
     src/mod/module.h

Log message:

* Exported strip_mirc_codes() and check_ansi(). This closes bug 361. Found
  by BarkerJr.

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.503 eggdrop1.6/doc/UPDATES1.6:1.504
--- eggdrop1.6/doc/UPDATES1.6:1.503	Sun Jun  8 20:49:10 2003
+++ eggdrop1.6/doc/UPDATES1.6	Sat Aug 16 15:12:36 2003
@@ -1,10 +1,11 @@
-$Id: UPDATES1.6,v 1.503 2003/06/09 01:49:10 wcc Exp $
+$Id: UPDATES1.6,v 1.504 2003/08/16 20:12:36 wcc Exp $
 
 Changes in Eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.16
 Found by  Fixed by  What...
+BarkerJr  Wcc       exported strip_mirc_codes() and check_ansi() from dcc.c
           tchaika   small fix to n_realloc()
 Wanderer| Wcc       fixed output of tcl_duration to not return extra spaces
 paladinz  Wcc       don't compile inet_ntop compatability code unless USE_IPV6
Index: eggdrop1.6/src/dcc.c
diff -u eggdrop1.6/src/dcc.c:1.67 eggdrop1.6/src/dcc.c:1.68
--- eggdrop1.6/src/dcc.c:1.67	Wed Apr 16 20:55:57 2003
+++ eggdrop1.6/src/dcc.c	Sat Aug 16 15:12:36 2003
@@ -4,7 +4,7 @@
  *   disconnect on a dcc socket
  *   ...and that's it!  (but it's a LOT)
  *
- * $Id: dcc.c,v 1.67 2003/04/17 01:55:57 wcc Exp $
+ * $Id: dcc.c,v 1.68 2003/08/16 20:12:36 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -684,7 +684,7 @@
  * guy, but when you added this feature you forced people to either
  * use your *SHAREWARE* client or face screenfulls of crap!)
  */
-static void strip_mirc_codes(int flags, char *text)
+void strip_mirc_codes(int flags, char *text)
 {
   char *dd = text;
 
@@ -821,7 +821,7 @@
 
 /* Make sure ansi code is just for color-changing
  */
-static int check_ansi(char *v)
+int check_ansi(char *v)
 {
   int count = 2;
 
Index: eggdrop1.6/src/mod/module.h
diff -u eggdrop1.6/src/mod/module.h:1.76 eggdrop1.6/src/mod/module.h:1.77
--- eggdrop1.6/src/mod/module.h:1.76	Mon Jun 30 23:36:26 2003
+++ eggdrop1.6/src/mod/module.h	Sat Aug 16 15:12:36 2003
@@ -1,7 +1,7 @@
 /*
  * module.h
  *
- * $Id: module.h,v 1.76 2003/07/01 04:36:26 wcc Exp $
+ * $Id: module.h,v 1.77 2003/08/16 20:12:36 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -479,6 +479,8 @@
 #define open_listen_by_af ((int (*) (int *, int))global[287])
 /* 288 - 291 */
 #define egg_inet_ntop ((int (*)(int af, const void *src, char *dst, socklen_t size))global[288])
+#define strip_mirc_codes ((void (*)(int, char *))global[289])
+#define check_ansi ((int (*) (char *))global[290])
 
 /* hostmasking */
 #define maskhost(a,b) _maskhost((a),(b),1)
Index: eggdrop1.6/src/modules.c
diff -u eggdrop1.6/src/modules.c:1.85 eggdrop1.6/src/modules.c:1.86
--- eggdrop1.6/src/modules.c:1.85	Tue May  6 23:45:10 2003
+++ eggdrop1.6/src/modules.c	Sat Aug 16 15:12:36 2003
@@ -4,7 +4,7 @@
  * 
  * by Darrin Smith (beldin at light.iinet.net.au)
  * 
- * $Id: modules.c,v 1.85 2003/05/07 04:45:10 wcc Exp $
+ * $Id: modules.c,v 1.86 2003/08/16 20:12:36 wcc Exp $
  */
 /* 
  * Copyright (C) 1997 Robey Pointer
@@ -564,7 +564,9 @@
   (Function) getprotocol,
   (Function) open_listen_by_af,
   /* 288 - 291 */
-  (Function) egg_inet_ntop
+  (Function) egg_inet_ntop,
+  (Function) strip_mirc_codes,
+  (Function) check_ansi
 };
 
 void init_modules(void)
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.1000 eggdrop1.6/src/patch.h:1.1001
--- eggdrop1.6/src/patch.h:1.1000	Mon Jun 30 23:36:26 2003
+++ eggdrop1.6/src/patch.h	Sat Aug 16 15:12:36 2003
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.1000 2003/07/01 04:36:26 wcc Exp $
+ * $Id: patch.h,v 1.1001 2003/08/16 20:12:36 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1057034136");            /* current unixtime */
+patch("1061063511");            /* current unixtime */
 /*
  *
  *
  */
-patch("MD5_Init");
+patch("export-dcc-funcs");
 /*
  *
  *
Index: eggdrop1.6/src/proto.h
diff -u eggdrop1.6/src/proto.h:1.57 eggdrop1.6/src/proto.h:1.58
--- eggdrop1.6/src/proto.h:1.57	Wed Apr 16 20:55:57 2003
+++ eggdrop1.6/src/proto.h	Sat Aug 16 15:12:36 2003
@@ -7,7 +7,7 @@
  * because they use structures in those
  * (saves including those .h files EVERY time) - Beldin
  *
- * $Id: proto.h,v 1.57 2003/04/17 01:55:57 wcc Exp $
+ * $Id: proto.h,v 1.58 2003/08/16 20:12:36 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -125,6 +125,8 @@
 
 /* dcc.c */
 void failed_link(int);
+void strip_mirc_codes(int, char *);
+int check_ansi(char *);
 void dupwait_notify(char *);
 
 /* dccutil.c */
----------------------- End of diff -----------------------


More information about the Changes mailing list