[cvslog] Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Sun Dec 2 01:18:00 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2001-12-02 07:17:35 UTC
Commited by: Jeff Fisher <guppy at techmonkeys.org>

Modified files:
     doc/UPDATES1.6 doc/text-substitutions.doc
     doc/html/app-textsub.html help/set/cmds1.help src/misc.c
     src/patch.h

Log message:

added the patch for %n support to the motd stuff ... its getting late, dont expect my changelogs to be masterpieces hehe

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.233 eggdrop1.6/doc/UPDATES1.6:1.234
--- eggdrop1.6/doc/UPDATES1.6:1.233	Sun Dec  2 01:11:15 2001
+++ eggdrop1.6/doc/UPDATES1.6	Sun Dec  2 01:17:24 2001
@@ -1,10 +1,11 @@
-$Id: UPDATES1.6,v 1.233 2001/12/02 07:11:15 guppy Exp $
+$Id: UPDATES1.6,v 1.234 2001/12/02 07:17:24 guppy Exp $
 
 Changes in eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.7
 Found by  Fixed by  What...
+          Noyga     added %n for $network to the list of motd text substitutions
           nakee     added language support to transfer.mod
 ClubCX    guppy     got rid of bad language
           poptix    rebound some commands to proper bindings (relay, bottree, vbottree)
Index: eggdrop1.6/doc/html/app-textsub.html
diff -u eggdrop1.6/doc/html/app-textsub.html:1.7 eggdrop1.6/doc/html/app-textsub.html:1.8
--- eggdrop1.6/doc/html/app-textsub.html:1.7	Sun Nov  5 22:06:41 2000
+++ eggdrop1.6/doc/html/app-textsub.html	Sun Dec  2 01:17:24 2001
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<!-- $Id: app-textsub.html,v 1.7 2000/11/06 04:06:41 guppy Exp $ -->
+<!-- $Id: app-textsub.html,v 1.8 2001/12/02 07:17:24 guppy Exp $ -->
 
 <html>
   <head>
@@ -56,6 +56,11 @@
 
         <dd>whatever is set in &#39;admin&#39; (see &#39;set
         admin&#39;)</dd>
+
+        <dt><strong>%n</strong></dt>
+
+        <dd>whatever is set in &#39;network&#39; (see &#39;set
+        network&#39;)</dd>
 
         <dt><strong>%T</strong></dt>
 
Index: eggdrop1.6/doc/text-substitutions.doc
diff -u eggdrop1.6/doc/text-substitutions.doc:1.5 eggdrop1.6/doc/text-substitutions.doc:1.6
--- eggdrop1.6/doc/text-substitutions.doc:1.5	Wed Nov 28 17:26:05 2001
+++ eggdrop1.6/doc/text-substitutions.doc	Sun Dec  2 01:17:24 2001
@@ -15,6 +15,7 @@
  %E   long form of %V (i.e., "Eggdrop v1.6.0  (c)1997 Robey Pointer (c)1999, 2000  Eggheads")
  %C   channels the bot is on (i.e., "#lamest, #botnetcentral")
  %A   whatever is set in 'admin' (see 'set admin')
+ %n   whatever is set in 'network' (see 'set network')
  %T   the current time (i.e., "15:00")
  %N   the current user's nickname (i.e., "Robey")
  %U   the current operating system the bot is on
Index: eggdrop1.6/help/set/cmds1.help
diff -u eggdrop1.6/help/set/cmds1.help:1.3 eggdrop1.6/help/set/cmds1.help:1.4
--- eggdrop1.6/help/set/cmds1.help:1.3	Sun Nov  4 22:08:27 2001
+++ eggdrop1.6/help/set/cmds1.help	Sun Dec  2 01:17:24 2001
@@ -27,6 +27,7 @@
       %%E   long form of %%V (i.e., "%E")
       %%C   channels the bot is on (i.e., "%C")
       %%A   whatever is set in 'admin' (see 'set admin')
+      %%n   whatever is set in 'network' (see 'set network')
       %%T   the current time (i.e., "%T")
       %%N   the current user's nickname (i.e., "%N")
       %%U   the current operating system the bot is on
Index: eggdrop1.6/src/misc.c
diff -u eggdrop1.6/src/misc.c:1.44 eggdrop1.6/src/misc.c:1.45
--- eggdrop1.6/src/misc.c:1.44	Sun Sep 23 15:17:47 2001
+++ eggdrop1.6/src/misc.c	Sun Dec  2 01:17:24 2001
@@ -7,7 +7,7 @@
  *   help system
  *   motd display and %var substitution
  *
- * $Id: misc.c,v 1.44 2001/09/23 20:17:47 guppy Exp $
+ * $Id: misc.c,v 1.45 2001/12/02 07:17:24 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -43,7 +43,7 @@
 extern struct dcc_t	*dcc;
 extern struct chanset_t	*chanset;
 extern char		 helpdir[], version[], origbotname[], botname[],
-			 admin[], motdfile[], ver[], botnetnick[],
+			 admin[], network[], motdfile[], ver[], botnetnick[],
 			 bannerfile[], logfile_suffix[], textdir[];
 extern int		 backgrd, con_chan, term_z, use_stderr, dcc_total,
 			 keep_all_logs, quick_logs, strict_host;
@@ -732,6 +732,7 @@
  * %C = list of channels i monitor
  * %E = eggdrop banner
  * %A = admin line
+ * %n = network name
  * %T = current time ("14:15")
  * %N = user's nickname
  * %U = display system name if possible
@@ -870,6 +871,9 @@
       break;
     case 'A':
       towrite = admin;
+      break;
+    case 'n':
+      towrite = network;
       break;
     case 'T':
       egg_strftime(sub, 6, "%H:%M", localtime(&now));
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.605 eggdrop1.6/src/patch.h:1.606
--- eggdrop1.6/src/patch.h:1.605	Sun Dec  2 01:11:15 2001
+++ eggdrop1.6/src/patch.h	Sun Dec  2 01:17:24 2001
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.605 2001/12/02 07:11:15 guppy Exp $
+ * $Id: patch.h,v 1.606 2001/12/02 07:17:24 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1007276769");		/* current unixtime */
+patch("1007277176");		/* current unixtime */
 /*
  *
  *
  */
-patch("transfer_language");
+patch("netmod");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list