[cvslog] (2005-03-03 21:40:43 UTC) Module eggdrop1.9: Change committed!

cvslog cvs at tsss.org
Thu Mar 3 15:40:43 CST 2005


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.9
Commit time: 2005-03-03 21:40:43 UTC
Commited by: Bryan Drewery <lordares at shatow.net>

Modified files:
     lib/eggdrop/ircmasks.c

Log message:

* Actually, looking over mIRC help and testing with $mask() it wasn't as simple as my patch..

---------------------- diff included ----------------------
Index: eggdrop1.9/lib/eggdrop/ircmasks.c
diff -u eggdrop1.9/lib/eggdrop/ircmasks.c:1.11 eggdrop1.9/lib/eggdrop/ircmasks.c:1.12
--- eggdrop1.9/lib/eggdrop/ircmasks.c:1.11	Thu Mar  3 15:37:36 2005
+++ eggdrop1.9/lib/eggdrop/ircmasks.c	Thu Mar  3 15:40:33 2005
@@ -18,7 +18,7 @@
  */
 
 #ifndef lint
-static const char rcsid[] = "$Id: ircmasks.c,v 1.11 2005/03/03 21:37:36 lordares Exp $";
+static const char rcsid[] = "$Id: ircmasks.c,v 1.12 2005/03/03 21:40:33 lordares Exp $";
 #endif
 
 #include <eggdrop/eggdrop.h>
@@ -111,13 +111,14 @@
 	char *mask;
 	char ustar[2] = {0, 0};
 	char *domain;
+/*
 	int replace_numbers = 0;
 
 	if (type >= 10) {
 		replace_numbers = 1;
 		type -= 10;
 	}
-
+*/
 	if (type < 5) nick = "*";
 	if (type == 2 || type == 7) user = "*";
 	else if (type == 1 || type == 3 || type == 6 || type == 8) {
@@ -152,13 +153,14 @@
 	}
 	mask = egg_mprintf("%s!%s%s@%s", nick, ustar, user, domain);
 	free(domain);
-	/* replaces numbers with '?' */
+	/* replaces numbers with '?' 
 	if (replace_numbers) {
 		char *c = NULL;
 
 		for (c = mask; *c; ++c)
 			if (isdigit((unsigned char) *c)) *c = '?';
 	}
+	*/
 	return(mask);
 }
 
----------------------- End of diff -----------------------



More information about the Changes mailing list