[cvslog] [CVS] Module eggdrop1.8: Change committed

cvs at eggheads.org cvs at eggheads.org
Tue Jul 30 18:45:48 CST 2013


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.8
Commit time: 2013-07-31 00:45:48 UTC
Committer  : Thomas Sader <thommey at gmail.com>

Modified files:
     doc/Changes1.8 doc/tcl-commands.doc doc/html/tcl-commands.html
     src/patch.h src/mod/server.mod/servmsg.c

Log message:

new evnt bind type: preinit-server

---------------------- diff included ----------------------
Index: eggdrop1.8/doc/Changes1.8
diff -u eggdrop1.8/doc/Changes1.8:1.73 eggdrop1.8/doc/Changes1.8:1.74
--- eggdrop1.8/doc/Changes1.8:1.73	Tue Jul 30 18:32:55 2013
+++ eggdrop1.8/doc/Changes1.8	Tue Jul 30 18:45:38 2013
@@ -1,4 +1,4 @@
-$Id: Changes1.8,v 1.73 2013/07/31 00:32:55 thommey Exp $
+$Id: Changes1.8,v 1.74 2013/07/31 00:45:38 thommey Exp $
 
 Eggdrop Changes (since version 1.8.0)
 
@@ -6,6 +6,9 @@
 
 1.8.0 (CVS):
 
+  - New evnt bind type - preinit-server - to allow CAP implementation in Tcl
+    Patch by: grawity
+
   - New evnt bind type - fail-server - which triggers on failed connection
     attempts to a server.
   - Share flags documentation update
Index: eggdrop1.8/doc/html/tcl-commands.html
diff -u eggdrop1.8/doc/html/tcl-commands.html:1.15 eggdrop1.8/doc/html/tcl-commands.html:1.16
--- eggdrop1.8/doc/html/tcl-commands.html:1.15	Tue Jul 30 18:32:55 2013
+++ eggdrop1.8/doc/html/tcl-commands.html	Tue Jul 30 18:45:38 2013
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<!-- $Id: tcl-commands.html,v 1.15 2013/07/31 00:32:55 thommey Exp $ -->
+<!-- $Id: tcl-commands.html,v 1.16 2013/07/31 00:45:38 thommey Exp $ -->
 
 <html>
   <head>
@@ -4949,6 +4949,16 @@
 
                   <tr valign="top">
                     <td>
+                      <p><strong>preinit-server</strong></p>
+                    </td>
+
+                    <td>
+                      <p>called immediately we connect to the IRC server</p>
+                    </td>
+                  </tr>
+
+                  <tr valign="top">
+                    <td>
                       <p><strong>init-server</strong></p>
                     </td>
 
Index: eggdrop1.8/doc/tcl-commands.doc
diff -u eggdrop1.8/doc/tcl-commands.doc:1.14 eggdrop1.8/doc/tcl-commands.doc:1.15
--- eggdrop1.8/doc/tcl-commands.doc:1.14	Tue Jul 30 18:32:55 2013
+++ eggdrop1.8/doc/tcl-commands.doc	Tue Jul 30 18:45:38 2013
@@ -1,4 +1,4 @@
-$Id: tcl-commands.doc,v 1.14 2013/07/31 00:32:55 thommey Exp $
+$Id: tcl-commands.doc,v 1.15 2013/07/31 00:45:38 thommey Exp $
 
 Eggdrop Tcl Commands
 Last revised: October 24, 2010
@@ -2245,6 +2245,7 @@
              userfile-loaded - called after userfile has been loaded
 
              connect-server    - called just before we connect to an IRC server
+             preinit-server    - called immediately when we connect to the server
              init-server       - called when we actually get on our IRC server
              disconnect-server - called when we disconnect from our IRC server
              fail-server       - called when an IRC server fails to respond 
Index: eggdrop1.8/src/mod/server.mod/servmsg.c
diff -u eggdrop1.8/src/mod/server.mod/servmsg.c:1.7 eggdrop1.8/src/mod/server.mod/servmsg.c:1.8
--- eggdrop1.8/src/mod/server.mod/servmsg.c:1.7	Tue Jul 30 18:32:55 2013
+++ eggdrop1.8/src/mod/server.mod/servmsg.c	Tue Jul 30 18:45:38 2013
@@ -1,7 +1,7 @@
 /*
  * servmsg.c -- part of server.mod
  *
- * $Id: servmsg.c,v 1.7 2013/07/31 00:32:55 thommey Exp $
+ * $Id: servmsg.c,v 1.8 2013/07/31 00:45:38 thommey Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -1342,6 +1342,7 @@
   strcpy(botname, origbotname);
   /* Start alternate nicks from the beginning */
   altnick_char = 0;
+  check_tcl_event("preinit-server");
   if (pass[0])
     dprintf(DP_MODE, "PASS %s\n", pass);
   dprintf(DP_MODE, "NICK %s\n", botname);
Index: eggdrop1.8/src/patch.h
diff -u eggdrop1.8/src/patch.h:1.48 eggdrop1.8/src/patch.h:1.49
--- eggdrop1.8/src/patch.h:1.48	Mon Jul 29 09:49:40 2013
+++ eggdrop1.8/src/patch.h	Tue Jul 30 18:45:38 2013
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.48 2013/07/29 15:49:40 thommey Exp $
+ * $Id: patch.h,v 1.49 2013/07/31 00:45:38 thommey Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1375112914");            /* current unixtime */
+patch("1375231490");            /* current unixtime */
 /*
  *
  *
  */
-patch("survivors");
+patch("preinit");
 /*
  *
  *
----------------------- End of diff -----------------------


More information about the Changes mailing list