[cvslog] (2005-11-28 17:23:50 UTC) Module eggdrop1.6: Change committed!

cvslog cvs at tsss.org
Mon Nov 28 11:23:50 CST 2005


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2005-11-28 17:23:50 UTC
Commited by: Will Buckner <wcc at techmonkeys.org>

Modified files:
     src/dcc.c src/patch.h

Log message:

* Small code-formatting fix... was bugging me.

---------------------- diff included ----------------------
Index: eggdrop1.6/src/dcc.c
diff -u eggdrop1.6/src/dcc.c:1.83 eggdrop1.6/src/dcc.c:1.84
--- eggdrop1.6/src/dcc.c:1.83	Sun Aug 28 23:48:19 2005
+++ eggdrop1.6/src/dcc.c	Mon Nov 28 11:23:40 2005
@@ -4,7 +4,7 @@
  *   disconnect on a dcc socket
  *   ...and that's it!  (but it's a LOT)
  *
- * $Id: dcc.c,v 1.83 2005/08/29 04:48:19 wcc Exp $
+ * $Id: dcc.c,v 1.84 2005/11/28 17:23:40 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -1322,7 +1322,7 @@
   strip_telnet(dcc[idx].sock, buf, &atr);
   buf[HANDLEN] = 0;
   /* Toss out bad nicknames */
-  if ((dcc[idx].nick[0] != '@') && (!wild_match(dcc[idx].nick, buf))) {
+  if (dcc[idx].nick[0] != '@' && !wild_match(dcc[idx].nick, buf)) {
     dprintf(idx, "Sorry, that nickname format is invalid.\n");
     putlog(LOG_BOTS, "*", DCC_BADNICK, dcc[idx].host);
     killsock(dcc[idx].sock);
@@ -1347,8 +1347,7 @@
     return;
   }
   dcc[idx].status &= ~(STAT_BOTONLY | STAT_USRONLY);
-  if ((!egg_strcasecmp(buf, "NEW")) && ((allow_new_telnets) ||
-      (make_userfile))) {
+  if (!egg_strcasecmp(buf, "NEW") && (allow_new_telnets || make_userfile)) {
     dcc[idx].type = &DCC_TELNET_NEW;
     dcc[idx].timeval = now;
     dprintf(idx, "\n");
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.1176 eggdrop1.6/src/patch.h:1.1177
--- eggdrop1.6/src/patch.h:1.1176	Thu Nov 17 12:03:49 2005
+++ eggdrop1.6/src/patch.h	Mon Nov 28 11:23:40 2005
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.1176 2005/11/17 18:03:49 wcc Exp $
+ * $Id: patch.h,v 1.1177 2005/11/28 17:23:40 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1132253237");            /* current unixtime */
+patch("1133198621");            /* current unixtime */
 /*
  *
  *
  */
-patch("cleanups");
+patch("dcc-cleanup");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list