[cvslog] (2004-12-02 22:16:04 UTC) Module eggdrop1.7: Change committed!

cvslog cvs at tsss.org
Thu Dec 2 16:16:04 CST 2004


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.7
Commit time: 2004-12-02 22:16:04 UTC
Commited by: Will Buckner <wcc at techmonkeys.org>

Modified files:
     INSTALL disabled_modules eggdrop.conf doc/html/index.html
     doc/html/install.html doc/settings/CONTENTS misc/modconfig
     src/Makefile.in src/patch.h src/compat/Makefile.in
     src/md5/Makefile.in src/mod/assoc.mod/Makefile
     src/mod/blowfish.mod/Makefile src/mod/channels.mod/Makefile
     src/mod/compress.mod/Makefile.in src/mod/console.mod/Makefile
     src/mod/ctcp.mod/Makefile src/mod/dns.mod/Makefile.in
     src/mod/filesys.mod/Makefile src/mod/irc.mod/Makefile
     src/mod/notes.mod/Makefile src/mod/seen.mod/Makefile
     src/mod/server.mod/Makefile src/mod/share.mod/Makefile
     src/mod/transfer.mod/Makefile src/mod/uptime.mod/Makefile
     src/mod/wire.mod/Makefile

Added files:
     doc/modules/MODULES doc/modules/sample.mod/Makefile
     doc/modules/sample.mod/modinfo doc/modules/sample.mod/sample.c

Removed files:
     doc/html/mod-woobie.html doc/settings/mod.woobie
     src/mod/woobie.mod/Makefile src/mod/woobie.mod/modinfo
     src/mod/woobie.mod/woobie.c

Log message:

* Moved woobie.mod to doc/ where it belongs.
* Ran misc/makedepend.
* Updates to misc/modconfig to handle empty module directories since CVS sucks.

---------------------- diff included ----------------------
Index: eggdrop1.7/INSTALL
diff -u eggdrop1.7/INSTALL:1.1.1.1 eggdrop1.7/INSTALL:1.2
--- eggdrop1.7/INSTALL:1.1.1.1	Tue Aug 24 20:01:54 2004
+++ eggdrop1.7/INSTALL	Thu Dec  2 16:15:52 2004
@@ -1,7 +1,7 @@
-$Id: INSTALL,v 1.1.1.1 2004/08/25 01:01:54 wcc Exp $
+$Id: INSTALL,v 1.2 2004/12/02 22:15:52 wcc Exp $
 
 Compilation and Installation of Eggdrop
-Last revised: July 24, 2004
+Last revised: November 29, 2004
     _____________________________________________________________________
 
                    Compilation and Installation of Eggdrop
@@ -42,8 +42,8 @@
 
       2. Type either 'make config' or 'make iconfig' to determine which
          modules will be compiled. 'make config' compiles the default modules
-         (everything but woobie.mod). If you want to choose which modules to
-         compile, use 'make iconfig'.
+         (everything but modules you choose to add to disabled_modules). If
+         you want to choose which modules to compile, use 'make iconfig'.
 
       3. Type 'make' from the Eggdrop directory, or to force a statically
          linked module bot, type 'make static'. Otherwise, the Makefile will
Index: eggdrop1.7/disabled_modules
diff -u eggdrop1.7/disabled_modules:1.1.1.1 eggdrop1.7/disabled_modules:1.2
--- eggdrop1.7/disabled_modules:1.1.1.1	Tue Aug 24 20:01:54 2004
+++ eggdrop1.7/disabled_modules	Thu Dec  2 16:15:52 2004
@@ -1,12 +1,8 @@
 #  disabled_modules -- File which lists all Eggdrop modules that are
 #                      disabled by default.
 #
-#  $Id: disabled_modules,v 1.1.1.1 2004/08/25 01:01:54 wcc Exp $
+#  $Id: disabled_modules,v 1.2 2004/12/02 22:15:52 wcc Exp $
 #
 # Note:
 #   -  Lines which start with a '#' character are ignored.
 #   -  Every module name needs to be on its own line
-
-# Woobie only serves as an example for module programming. No need to
-# compile it for normal bots ...
-woobie
Index: eggdrop1.7/doc/html/index.html
diff -u eggdrop1.7/doc/html/index.html:1.2 eggdrop1.7/doc/html/index.html:1.3
--- eggdrop1.7/doc/html/index.html:1.2	Tue Aug 24 20:51:04 2004
+++ eggdrop1.7/doc/html/index.html	Thu Dec  2 16:15:52 2004
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<!-- $Id: index.html,v 1.2 2004/08/25 01:51:04 wcc Exp $ -->
+<!-- $Id: index.html,v 1.3 2004/12/02 22:15:52 wcc Exp $ -->
 
 <html>
   <head>
@@ -109,8 +109,6 @@
         <li><a href="mod-uptime.html">Uptime Module</a></li>
 
         <li><a href="mod-wire.html">Wire Module</a></li>
-
-        <li><a href="mod-woobie.html">Woobie Module</a></li>
       </ul>
     </blockquote>
 
Index: eggdrop1.7/doc/html/install.html
diff -u eggdrop1.7/doc/html/install.html:1.1.1.1 eggdrop1.7/doc/html/install.html:1.2
--- eggdrop1.7/doc/html/install.html:1.1.1.1	Tue Aug 24 20:01:57 2004
+++ eggdrop1.7/doc/html/install.html	Thu Dec  2 16:15:52 2004
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<!-- $Id: install.html,v 1.1.1.1 2004/08/25 01:01:57 wcc Exp $ -->
+<!-- $Id: install.html,v 1.2 2004/12/02 22:15:52 wcc Exp $ -->
 
 <html>
   <head>
@@ -67,8 +67,9 @@
         <li>
           <p>Type either &#39;make config&#39; or &#39;make iconfig&#39; to
           determine which modules will be compiled. &#39;make config&#39;
-          compiles the default modules (everything but woobie.mod). If you
-          want to choose which modules to compile, use &#39;make iconfig&#39;.
+          compiles the default modules (everything but modules you choose to
+          add to disabled_modules). If you want to choose which modules to
+          compile, use &#39;make iconfig&#39;.
        </li>
 
        <li>
Index: eggdrop1.7/doc/html/mod-woobie.html
diff -u eggdrop1.7/doc/html/mod-woobie.html:1.1.1.1 eggdrop1.7/doc/html/mod-woobie.html:removed
--- eggdrop1.7/doc/html/mod-woobie.html:1.1.1.1	Tue Aug 24 20:01:58 2004
+++ eggdrop1.7/doc/html/mod-woobie.html	Thu Dec  2 16:16:04 2004
@@ -1,39 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<!-- $Id: mod-woobie.html,v 1.1.1.1 2004/08/25 01:01:58 wcc Exp $ -->
-
-<html>
-  <head>
-    <title>Eggdrop Documentation: Woobie Module</title>
-  </head>
-
-  <body>
-    <div align="center">
-      <p><strong>Woobie Module</strong></p>
-    </div>
-    <hr>
-
-    <p>This is for demonstrative purposes only. If you are looking for
-    starting point in writing modules, woobie is the right thing.</p>
-
-    <blockquote>
-      <ol>
-        <li><a href="#config">Config file settings</a></li>
-      </ol>
-    </blockquote>
-    <hr>
-
-    <p><a name="config"></a>1. <strong>Config file settings</strong></p>
-
-    <blockquote>
-      <p>Put this line into your Eggdrop configuration file to load the
-      woobie module:</p>
-
-      <p><strong>loadmodule woobie</strong></p>
-    </blockquote>
-    <hr>
-
-    <p><em>Copyright &copy; 1997 Robey Pointer<br>
-    Copyright &copy; 1999, 2000, 2001, 2002, 2003, 2004
-    <a href="http://www.eggheads.org/"> Eggheads Development Team</a></em></p>
-  </body>
-</html>
Index: eggdrop1.7/doc/modules/MODULES
diff -u /dev/null eggdrop1.7/doc/modules/MODULES:1.1
--- /dev/null	Thu Dec  2 16:16:04 2004
+++ eggdrop1.7/doc/modules/MODULES	Thu Dec  2 16:15:52 2004
@@ -0,0 +1,393 @@
+$Id: MODULES,v 1.1 2004/12/02 22:15:52 wcc Exp $
+
+Eggdrop Module Information
+Last revised: November 29, 2004
+    _____________________________________________________________________
+
+                         Eggdrop Module Information
+
+
+  The purpose of this document is to show you how to download, install, create,
+  and submit modules.
+
+  Contents:
+    1. What are modules?
+    2. Why use modules?
+    3. How to install a module
+    4. Modules included with Eggdrop
+    5. Programming modules
+    6. What to do with a finished module
+
+
+  1. What are modules?
+
+    Modules are portions of code which are loaded separately to the bot itself
+    and provide extra services. For example, the filesys module provides the
+    entire file system.
+
+
+  2. Why use modules?
+
+    Modules allow C coders to add their own enhancements to the bot while
+    keeping them optional and without increasing the size of the Eggdrop core.
+
+
+  3. How to install a module
+
+    Please note that these are only basic instructions for compiling and
+    installing a module. Please read any and all directions included with
+    the module you wish to install.
+
+      1. Download and un-tar the Eggdrop source code.
+
+      2. Place the new module in its own directory (in the format of
+         (modulename).mod) in src/mod.
+
+      3. Run ./configure (from eggdrop1.7.x/).
+
+      4. Type 'make config' or 'make iconfig'.
+
+      5. Type 'make'.
+
+      6. Copy the compiled module file (modulename.so) into your bot's
+         modules folder.
+
+      7. Add 'loadmodule modulename' to your eggdrop.conf file (do not
+         add the .so suffix).
+
+      8. Rehash or restart your bot.
+
+    To view your currently loaded modules, type '.module'.
+
+
+  4. Modules included with Eggdrop
+
+    assoc     This module provides assoc support, i.e. naming channels on the
+              botnet.
+
+    blowfish  Eggdrop can encrypt your userfile, so users can have secure
+              passwords. Please note that when you change your encryption
+              method later (i.e. using other modules like a md5 module),
+              you can't use your current userfile anymore. Eggdrop will not
+              start without an encryption module.
+
+    channels  This module provides channel related support for the bot.
+              Without it, you won't be able to make the bot join a channel
+              or save channel specific userfile information.
+
+    compress  This module provides provides support for file compression. This
+              allows the bot to transfer compressed user files and, therefore,
+              save a significant amount of bandwidth.
+
+    console   This module provides storage of console settings when you exit
+              the bot or type .store on the partyline.
+
+    ctcp      This module provides the normal ctcp replies that you'd expect.
+              Without it loaded, CTCP CHAT will not work.
+
+    dns       This module provides asynchronous dns support. This will avoid
+              long periods where the bot just hangs there, waiting for a
+              hostname to resolve, which will often let it timeout on all
+              other connections.
+
+    filesys   This module provides an area within the bot where users can store
+              and manage files. With this module, the bot is usable as a file
+              server.
+
+    irc       This module provides basic IRC support for your bot. You have to
+              load this if you want your bot to come on IRC.
+
+    notes     This module provides support for storing of notes for users from
+              each other. Note sending between currently online users is
+              supported in the core, this is only for storing the notes for
+              later retrieval.
+
+    seen      This module provides very basic seen commands via msg, on channel
+              or via dcc. This module works only for users in the bot's
+              userlist. If you are looking for a better and more advanced seen
+              module, try the gseen module by G'Quann. You can find it at
+              http://www.visions-of-fantasy.de/gseen.mod/.
+
+    server    This module provides the core server support. You have to load
+              this if you want your bot to come on IRC. Not loading this is
+              equivalent to the old NO_IRC define.
+
+    share     This module provides userfile sharing support between two
+              directly linked bots.
+
+    transfer  The transfer module provides DCC SEND/GET support and userfile
+              transfer support for userfile sharing.
+
+    uptime    This module reports uptime statistics to the uptime contest
+              web site at http://uptime.eggheads.org. Go look and see what
+              your uptime is! It takes about 9 hours to show up, so if your
+              bot isn't listed, try again later. See doc/settings/mod.uptime
+              for more information, including details on what information is
+              sent to the uptime server.
+
+    wire      This module provides all the standard .wire partyline commands.
+              It is an encrypted partyline communication tool, compatible with
+              wire.tcl.
+
+
+  5. Programming modules
+
+    WARNING: This section is very likely to be out of date.
+
+    Note: This is for a simple module of 1 source file. If you're doing a
+          multiple source file module, you shouldn't need to read this anyway.
+
+    1. Create a src/mod/MODULE.mod directory in your Eggdrop directory (where
+       MODULE is the module name) and cd to it.
+
+    2. Copy the file `Makefile' from doc/modules/sample.mod and replace all
+        occurrences of `sample' with your module name. This should ensure
+        that your module gets compiled.
+
+    3. Next, you want to create a file called MODULE.c (MODULE is the module
+       name again).
+
+    4. You MUST include the following in your source code:
+
+      a. #define MODULE_NAME "module-name"
+
+        This should be defined to the same name you will be using when you load
+        your module.
+
+      b. #define MAKING_MODULENAME
+
+        MODULENAME is the name of your module (MODULE_NAME), but in all caps.
+
+      c. #include "../module.h"
+
+        This provides access to Eggdrop's global function table. Examine
+        src/mod/module.h closely to find a list of functions available.
+
+      d. #include any other standard c header files you might need. Note that
+         stdio.h, string.h, stdlib.h, and sys/types.h are already included.
+
+      e. Function *global;
+
+        This variable provides access to all the Eggdrop functions; without it,
+        you can't call any Eggdrop functions (the module won't even load).
+
+    5. Every module must also have the following functions:
+
+      In most modules, all functions/variables (except global and MODULE_start)
+      should be static. This will drastically reduce the size of modules on
+      decent systems.
+
+      Throughout step 5, MODULE refers to the module name. Note that
+      "MODULE_NAME" should literally be "MODULE_NAME".
+
+      a. char *MODULE_start(Function *func_table)
+        This function is called when the module is first loaded. There are
+        several things that need to be done in this function:
+
+          global = func_table;
+
+            This allows you to make calls to the global function table.
+
+          module_register(MODULE_NAME, MODULE_table, MAJOR, MINOR);
+
+            This records details about the module for other modules and Eggdrop
+            itself to access. MAJOR and MINOR are ints, where MAJOR is the
+            module's major version number and MINOR is a minor version number.
+            MODULE_table is a function table (see below).
+
+          module_depend(MODULE_NAME, "another-module", MAJOR, MINOR);
+            This lets Eggdrop know that your module NEEDS "another-module" of
+            major version 'MAJOR' and at least minor version 'MINOR' to run,
+            and hence should try to load it if it's not already loaded. This
+            will return 1 on success, or 0 if it can't be done (at which stage
+            you should return an error).
+
+          Any other initialization stuff you desire should also be included in
+          this function. See below for various things you can do.
+
+          You also will need to return a value. Returning NULL implies the
+          module loaded successfully. Returning a non-NULL STRING is an error
+          message. The module (and any other dependant modules) will stop
+          loading and an error will be returned.
+
+      b. static Function *MODULE_table = {
+           MODULE_start,
+           MODULE_close,
+           MODULE_expmem,
+           MODULE_report,
+           any_other_functions,
+           you_want_to_export
+         };
+
+        This is a table of functions which any other module can access. The
+        first 4 functions are FIXED. You MUST have them; they provide important
+        module information.
+
+      c. static char *MODULE_close ()
+        This is called when the module is unloaded. Apart from tidying any
+        relevant data (I suggest you be thorough, we don't want any trailing
+        garbage from modules), you MUST do the following:
+
+          module_undepend(MODULE_NAME);
+            This lets Eggdrop know your module no longer depends on any other
+            modules.
+
+          Return a value. NULL implies success; any non-NULL STRING implies
+          that the module cannot be unloaded for some reason, and hence the
+          bot should not unload it (see the blowfish module for an example).
+
+      d. static int MODULE_expmem ()
+        This should tally all memory you allocate/deallocate within the module
+        (using nmalloc, nfree, etc) in bytes. It's used by memory debugging to
+        track memory faults, and it is used by .status to total up memory usage.
+
+      e. static void MODULE_report (int idx)
+        This should provide a relatively short report of the module's status
+        (for the module and status commands).
+
+      These functions are available to modules. MANY more available functions
+      can be found in src/mod/module.h.
+
+      void *nmalloc(int j);
+
+        This allocates j bytes of memory.
+
+      void nfree(void *a);
+
+        This frees an nmalloc'd block of memory.
+
+      Context;
+
+        Actually a macro -- records the current position in execution (for
+        debugging). Using Context is no longer recommended, because it uses
+        too many resources and a core file provides much more information.
+
+      void dprintf(int idx, char *format, ...)
+
+        This acts like a normal printf() function, but it outputs to
+        log/socket/idx.
+
+        idx is a normal dcc idx, or if < 0 is a sock number.
+
+        Other destinations:
+          DP_LOG    - send to log file
+          DP_STDOUT - send to stdout
+          DP_MODE   - send via mode queue to the server
+          DP_SERVER - send via normal queue to the server
+          DP_HELP   - send via help queue to server
+
+      const module_entry *module_find(char *module_name, int major, int minor);
+
+        Searches for a loaded module (matching major, >= minor), and returns
+        info about it.
+
+        Members of module_entry:
+          char *name;      - module name
+          int major;       - real major version
+          int minor;       - real minor version
+          Function *funcs; - function table (see above)
+
+      void module_rename(char *old_module_name, char *new_module_name)
+
+        This renames a module frim old_module_name to new_module_name.
+
+      void add_hook(int hook_num, Function *funcs)
+      void del_hook(int hook_num, Function *funcs)
+
+       These are used for adding or removing hooks to/from Eggdrop code that
+       are triggered on various events. Valid hooks are:
+         HOOK_SECONDLY   - called every second
+         HOOK_MINUTELY   - called every minute
+         HOOK_5MINUTELY  - called every 5 minutes
+         HOOK_HOURLY     - called every hour (hourly-updates minutes past)
+         HOOK_DAILY      - called when the logfiles are switched
+
+         HOOK_READ_USERFILE - called when the userfile is read
+         HOOK_USERFILE      - called when the userfile is written
+         HOOK_PRE_REHASH    - called just before a rehash
+         HOOK_REHASH        - called just after a rehash
+         HOOK_IDLE          - called whenever the dcc connections have been
+                              idle for a whole second
+         HOOK_BACKUP        - called when a user/channel file backup is done
+         HOOK_LOADED        - called when Eggdrop is first loaded
+         HOOK_DIE           - called when Eggdrop is about to die
+
+      char *module_unload (char *module_name);
+      char *module_load (char *module_name);
+
+        Tries to load or unload the specified module; returns 0 on success, or
+        an error message.
+
+      void add_tcl_commands(tcl_cmds *tab);
+      void rem_tcl_commands(tcl_cmds *tab);
+
+        Provides a quick way to create and remove a table of Tcl commands. The
+        table is in the form of:
+
+          {char *func_name, Function *function_to_call}
+
+        Use { NULL, NULL } to indicate the end of the list.
+
+      void add_tcl_ints(tcl_ints *);
+      void rem_tcl_ints(tcl_ints *);
+
+        Provides a quick way to create and remove a table of links from C
+        int variables to Tcl variables (add_tcl_ints checks to see if the Tcl
+        variable exists and copies it over the C one). The format of table is:
+
+          {char *variable_name, int *variable, int readonly}
+
+        Use {NULL, NULL, 0} to indicate the end of the list.
+
+      void add_tcl_strings(tcl_strings *);
+      void rem_tcl_strings(tcl_strings *);
+
+        Provides a quick way to create and remove a table of links from C
+        string variables to Tcl variables (add_tcl_ints checks to see if the
+        Tcl variable exists and copies it over the C one). The format of table
+        is:
+
+          {char *variable_name, char *string, int length, int flags}
+
+        Use {NULL, NULL, 0, 0} to indicate the end of the list. Use 0 for
+        length if you want a const string. Use STR_DIR for flags if you want a
+        '/' constantly appended; use STR_PROTECT if you want the variable set
+        in the config file, but not during normal usage.
+
+      void add_builtins(p_tcl_hash_list table, cmd_t *cc);
+      void rem_builtins(p_tcl_hash_list table, cmd_t *cc);
+
+        This adds binds to one of Eggdrop's bind tables. The format of the
+        table is:
+
+          {char *command, char *flags, Function *function, char *displayname}
+
+        Use {NULL, NULL, NULL, NULL} to indicate the end of the list.
+
+        This works EXACTLY like the Tcl 'bind' command. displayname is what Tcl
+        sees this function's proc name as (in .binds all).
+
+        function is called with exactly the same args as a Tcl binding is with
+        type conversion taken into account (e.g. idx's are ints). Return values
+        are much the same as Tcl bindings. Use int 0/1 for those which require
+        0/1, or char * for those which require a string (auch as filt). Return
+        nothing if no return value is required.
+
+      void putlog (int logmode, char *channel, char *format, ...)
+
+        Adds text to a logfile (determined by logmode and channel). This text
+        will also output to any users' consoles if they have the specified
+        console mode enabled.
+
+
+  6. What to do with a module?
+
+     If you have written a module and feel that you wish to share it with the
+     rest of the Eggdrop community, upload it to the incoming directory on
+     incoming.eggheads.org (/incoming/modules/1.7). Place a nice descriptive
+     text (modulename.desc) with it, and it'll make its way to the modules
+     directory on ftp.eggheads.org. Don't forget to mention in your text file
+     which version Eggdrop the module is written for.
+    _____________________________________________________________________
+
+  Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Eggheads Development Team
Index: eggdrop1.7/doc/modules/sample.mod/Makefile
diff -u /dev/null eggdrop1.7/doc/modules/sample.mod/Makefile:1.1
--- /dev/null	Thu Dec  2 16:16:04 2004
+++ eggdrop1.7/doc/modules/sample.mod/Makefile	Thu Dec  2 16:15:52 2004
@@ -0,0 +1,38 @@
+# Makefile for sample.mod.
+#
+# This is an example Makefile for a module.
+#
+# $Id: Makefile,v 1.1 2004/12/02 22:15:52 wcc Exp $
+
+MOD_NAME = sample
+srcdir = .
+
+
+doofus:
+	@echo ""
+	@echo "Let's try this from the right directory..."
+	@echo ""
+	@cd ../../../ && make
+
+static: ../$(MOD_NAME).o
+
+modules: ../../../$(MOD_NAME).$(MOD_EXT)
+
+../$(MOD_NAME).o:
+	$(CC) $(CFLAGS) -DMAKING_MODS -c $(srcdir)/$(MOD_NAME).c
+	@rm -f ../$(MOD_NAME).o
+	mv $(MOD_NAME).o ../
+
+../../../$(MOD_NAME).$(MOD_EXT): ../$(MOD_NAME).o
+	$(LD) -o ../../../$(MOD_NAME).$(MOD_EXT) ../$(MOD_NAME).o $(XLIBS) $(MODULE_XLIBS)
+	$(STRIP) ../../../$(MOD_NAME).$(MOD_EXT)
+
+depend:
+	$(CC) $(CFLAGS) -MM $(MOD_NAME).c -MT ../$(MOD_NAME).o > .depend
+
+clean:
+	@rm -f .depend *.o *.$(MOD_EXT) *~
+
+distclean: clean
+
+#safety hash
Index: eggdrop1.7/doc/modules/sample.mod/modinfo
diff -u /dev/null eggdrop1.7/doc/modules/sample.mod/modinfo:1.1
--- /dev/null	Thu Dec  2 16:16:04 2004
+++ eggdrop1.7/doc/modules/sample.mod/modinfo	Thu Dec  2 16:15:52 2004
@@ -0,0 +1,3 @@
+# $Id: modinfo,v 1.1 2004/12/02 22:15:52 wcc Exp $
+DESC:This module is for demonstrative purposes only.
+DESC:
Index: eggdrop1.7/doc/modules/sample.mod/sample.c
diff -u /dev/null eggdrop1.7/doc/modules/sample.mod/sample.c:1.1
--- /dev/null	Thu Dec  2 16:16:04 2004
+++ eggdrop1.7/doc/modules/sample.mod/sample.c	Thu Dec  2 16:15:52 2004
@@ -0,0 +1,139 @@
+/* sample.c
+ * 
+ * Originally written by ButchBub         15 July     1997
+ * Comments by Fabian Knittel             29 December 1999
+ *
+ * Copyright (C) 1999-2004 Eggheads Development Team
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ *
+ * $Id: sample.c,v 1.1 2004/12/02 22:15:52 wcc Exp $
+ */
+
+#define MODULE_NAME "sample"
+#define MAKING_SAMPLE
+
+/* This file needs to be included by all modules. */
+#include "src/mod/module.h"
+
+/* This is a pointer to the Eggdrop global function table. It gets initialized
+ * below in sample_start(). */
+#undef global
+static Function *global = NULL;
+
+/* Prototype for sample_start() below. */
+EXPORT_SCOPE char *sample_start();
+
+
+/* Calculate the memory we keep allocated. This module doesn't allocate any
+ * memory, but since an expmem function needs to exist for each module, we
+ * just return 0 here. */
+static int sample_expmem()
+{
+  return 0;
+}
+
+/* This is a sample partyline command. 'u' is the userrec of the user using
+ * the command, 'idx' is that user's idx, and 'par' contains the arguments
+ * issued after the command. */
+static int cmd_sample(struct userrec *u, int idx, char *par)
+{
+  /* Log the command as soon as you're sure all parameters are valid. */
+  putlog(LOG_CMDS, "*", "#%s# sample", dcc[idx].nick);
+
+  /* This prints "I am only a sample. I don't really do anything :(." to
+   * the console of the user issuing the command. */
+  dprintf(idx, "I am only a sample. I don't really do anything :(.\n");
+
+  return 0;
+}
+
+/* This shows the module's status when the '.status' partyline command is
+ * called. 'details' will be 1 if '.status all' is used, or 0 if '.status'
+ * was used. */
+static void sample_report(int idx, int details)
+{
+  if (details) {
+    int size = sample_expmem();
+
+    dprintf(idx, "    Using %d byte%s of memory.\n", size,
+            (size != 1) ? "s" : "");
+  }
+}
+
+/* NOTE:
+ *   The tcl-name is automatically created if you set it to NULL. In the
+ *   example below, it would be "*dcc:sample". If you specify "sample:sample"
+ *   it would be "*dcc:sample:sample" instead. */
+static cmd_t mydcc[] = {
+  /* command name  required flags    function to call     tcl-name */
+  {"sample",       "",               cmd_sample,          NULL},
+
+  /* Always end command tables with a NULL entry. */
+  {NULL,      NULL,  NULL,        NULL}
+};
+
+
+/* This function is called when the module is unloaded. */
+static char *sample_close()
+{
+  /* Remove the partyline commands we added when the module is unloaded. */
+  rem_builtins(H_dcc, mydcc);
+
+  module_undepend(MODULE_NAME);
+  return NULL;
+}
+
+/* This function table is exported and may be used by other modules and
+ * the core.
+ *
+ * The first four have to be defined (you may define them as 0 or NULL),
+ * as they are used by eggdrop core.
+ */
+static Function sample_table[] = {
+  (Function) sample_start,
+  (Function) sample_close,
+  (Function) sample_expmem,
+  (Function) sample_report,
+};
+
+/* This function is called as the module is loaded. */
+char *sample_start(Function *global_funcs)
+{
+  /* Assign the global function table. After this point, you can use all
+   * normal functions defined in src/mod/modules.h. */
+  global = global_funcs;
+
+  /* Register the module. */
+  module_register(MODULE_NAME, sample_table, 2, 0);
+  /*                                            ^--- minor module version
+   *                                         ^------ major module version
+   *                           ^-------------------- module function table
+   *              ^--------------------------------- module name
+   */
+
+  /* Depend on the Eggdrop core, version 1.7.0 or later. */
+  if (!module_depend(MODULE_NAME, "eggdrop", 107, 0)) {
+    module_undepend(MODULE_NAME);
+    return "This module requires Eggdrop 1.7.0 or later.";
+  }
+
+  /* Add command table to bind list H_dcc, responsible for DCC/partyline
+   * commands. Currently we only add one command, 'sample'. */
+  add_builtins(H_dcc, mydcc);
+
+  /* Return NULL unless we're passing an error message. */
+  return NULL;
+}
Index: eggdrop1.7/doc/settings/CONTENTS
diff -u eggdrop1.7/doc/settings/CONTENTS:1.1.1.1 eggdrop1.7/doc/settings/CONTENTS:1.2
--- eggdrop1.7/doc/settings/CONTENTS:1.1.1.1	Tue Aug 24 20:01:59 2004
+++ eggdrop1.7/doc/settings/CONTENTS	Thu Dec  2 16:15:52 2004
@@ -1,7 +1,7 @@
-$Id: CONTENTS,v 1.1.1.1 2004/08/25 01:01:59 wcc Exp $
+$Id: CONTENTS,v 1.2 2004/12/02 22:15:52 wcc Exp $
 
 Directory Contents - doc/settings/
-Last revised: April 16, 2003
+Last revised: November 29, 2004
     _____________________________________________________________________
 
                       Directory Contents - doc/settings
@@ -57,9 +57,6 @@
 
   mod.wire
     Documentation for the wire module is provided in this file.
-
-  mod.woobie
-    Documentation for the woobie module is provided in this file.
     ________________________________________________________________________
 
   Copyright (C) 2003, 2004 Eggheads Development Team
Index: eggdrop1.7/doc/settings/mod.woobie
diff -u eggdrop1.7/doc/settings/mod.woobie:1.1.1.1 eggdrop1.7/doc/settings/mod.woobie:removed
--- eggdrop1.7/doc/settings/mod.woobie:1.1.1.1	Tue Aug 24 20:02:00 2004
+++ eggdrop1.7/doc/settings/mod.woobie	Thu Dec  2 16:16:04 2004
@@ -1,21 +0,0 @@
-$Id: mod.woobie,v 1.1.1.1 2004/08/25 01:02:00 wcc Exp $
-
-Woobie Module
-Last revised: December 31, 2001
-    _____________________________________________________________________
-
-                               Woobie Module
-
-
-  This is for demonstrative purposes only. If you are looking for starting
-  point in writing modules, woobie is the right thing.
-
-  This module requires: none
-
-  Put this line into your Eggdrop configuration file to load the woobie
-  module:
-
-    loadmodule woobie
-    _____________________________________________________________________
-
-  Copyright (C) 2000, 2001, 2002, 2003, 2004 Eggheads Development Team
Index: eggdrop1.7/eggdrop.conf
diff -u eggdrop1.7/eggdrop.conf:1.5 eggdrop1.7/eggdrop.conf:1.6
--- eggdrop1.7/eggdrop.conf:1.5	Wed Nov 24 16:37:32 2004
+++ eggdrop1.7/eggdrop.conf	Thu Dec  2 16:15:52 2004
@@ -1,7 +1,7 @@
 #! /path/to/executable/eggdrop
 # ^- This should contain a fully qualified path to your Eggdrop executable.
 #
-# $Id: eggdrop.conf,v 1.5 2004/11/24 22:37:32 wcc Exp $
+# $Id: eggdrop.conf,v 1.6 2004/12/02 22:15:52 wcc Exp $
 #
 # This is a sample Eggdrop configuration file which includes all possible
 # settings that can be used to configure your bot.
@@ -167,7 +167,6 @@
 # files do. The console channel is automatically set to your "primary" channel,
 # which is set in the modules section of the config file. Masters can change
 # their console channel and modes with the '.console' command.
-
 set console "mkcobxs"
 
 
@@ -1267,13 +1266,6 @@
 set info-party 0
 
 
-#### WOOBIE MODULE ####
-
-# This is for demonstrative purposes only. If you are looking for starting
-# point in writing modules, woobie is the right thing.
-#loadmodule woobie
-
-
 #### SEEN MODULE ####
 
 # This module provides very basic seen commands via msg, on channel or via dcc.
Index: eggdrop1.7/misc/modconfig
diff -u eggdrop1.7/misc/modconfig:1.1.1.1 eggdrop1.7/misc/modconfig:1.2
--- eggdrop1.7/misc/modconfig:1.1.1.1	Tue Aug 24 20:02:21 2004
+++ eggdrop1.7/misc/modconfig	Thu Dec  2 16:15:52 2004
@@ -19,7 +19,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #
-# $Id: modconfig,v 1.1.1.1 2004/08/25 01:02:21 wcc Exp $
+# $Id: modconfig,v 1.2 2004/12/02 22:15:52 wcc Exp $
 
 
 mc_pn=`echo $0 | sed -e 's/^.*\///'`
@@ -216,6 +216,10 @@
 				grep -v "^${mc_mod}$" ${mc_fknownmods} > ${mc_fknownmods}_new
 				mv ${mc_fknownmods}_new ${mc_fknownmods}
 			fi
+			if test ! -f ${mc_mod_dir}/${mc_mod}/Makefile && test ! -f ${mc_mod_dir}/${mc_mod}/Makefile.in; then
+				grep -v "^${mc_mod}$" ${mc_fknownmods} > ${mc_fknownmods}_new
+				mv ${mc_fknownmods}_new ${mc_fknownmods}
+			fi
 		done
 		echo " done." 1>&6
 	fi
@@ -458,25 +462,20 @@
 		#  Add module to the list of known modules.
 		if grep "^${mc_mod}\.mod$" ${mc_fknownmods} 1>&7 2>&7; then
 			if test ! -d ${mc_mod_dir}/${mc_mod}.mod; then
-				grep -v "^${mc_mod}\.mod$" ${mc_fknownmods} \
-					> ${mc_fknownmods}_new
+				grep -v "^${mc_mod}\.mod$" ${mc_fknownmods} > ${mc_fknownmods}_new
 				mv ${mc_fknownmods}_new ${mc_fknownmods}
 			fi
-		else
-			if test ! -d ${mc_mod_dir}/${mc_mod}.mod; then
-				:
-			else
+		elif test -d ${mc_mod_dir}/${mc_mod}.mod; then
+			if test -f ${mc_mod_dir}/${mc_mod}.mod/Makefile || test -f ${mc_mod_dir}/${mc_mod}.mod/Makefile.in; then
 				echo ${mc_mod}.mod 1>> ${mc_fknownmods}
 			fi
 		fi
 
 		#  Add module to the list of active modules.
-		if grep "^${mc_mod}\.mod$" ${mc_fmodules} 1>&7 2>&7; then
-			:
-		else
+		if ! grep "^${mc_mod}\.mod$" ${mc_fmodules} 1>&7 2>&7; then
 			if test ! -d ${mc_mod_dir}/${mc_mod}.mod; then
 				echo "${mc_pn}: warning: module does not exist: \`${mc_mod}', ignoring." 1>&2
-			else
+			elif test -f ${mc_mod_dir}/${mc_mod}.mod/Makefile || test -f ${mc_mod_dir}/${mc_mod}.mod/Makefile.in; then
 				echo "${mc_pn}: enabling eggdrop module: ${mc_mod}" 1>&6
 
 				#  Add it to the file
Index: eggdrop1.7/src/Makefile.in
diff -u eggdrop1.7/src/Makefile.in:1.11 eggdrop1.7/src/Makefile.in:1.12
--- eggdrop1.7/src/Makefile.in:1.11	Wed Oct 27 18:54:54 2004
+++ eggdrop1.7/src/Makefile.in	Thu Dec  2 16:15:52 2004
@@ -1,5 +1,5 @@
 # Makefile for src/
-# $Id: Makefile.in,v 1.11 2004/10/27 23:54:54 wcc Exp $
+# $Id: Makefile.in,v 1.12 2004/12/02 22:15:52 wcc Exp $
 
 SHELL = @SHELL@
 top_srcdir = @top_srcdir@
@@ -83,204 +83,203 @@
 	$(CC) $(CFLAGS) -c $<
 
 #safety hash
-bg.o: bg.c main.h ../config.h ../lush.h eggdrop.h types.h ../config.h \
-  debug.h logfile.h lang.h flags.h proto.h misc_file.h language.h \
-  tclegg.h tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+bg.o: bg.c main.h ../config.h ../lush.h eggdrop.h types.h debug.h \
+  logfile.h lang.h flags.h proto.h misc_file.h language.h tclegg.h \
+  tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
   ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
   compat/strcasecmp.h compat/strftime.h bg.h
-botcmd.o: botcmd.c main.h ../config.h ../lush.h eggdrop.h types.h \
-  ../config.h debug.h logfile.h lang.h flags.h proto.h misc_file.h \
-  language.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
-  compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
-  compat/memcpy.h compat/strcasecmp.h compat/strftime.h modules.h \
-  mod/modvals.h ../src/types.h botcmd.h botnet.h botmsg.h dcc.h dccutil.h \
-  help.h misc.h net.h userrec.h
-botmsg.o: botmsg.c main.h ../config.h ../lush.h eggdrop.h types.h \
-  ../config.h debug.h logfile.h lang.h flags.h proto.h misc_file.h \
-  language.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
-  compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
-  compat/memcpy.h compat/strcasecmp.h compat/strftime.h botmsg.h botnet.h \
-  dcc.h dccutil.h misc.h net.h
-botnet.o: botnet.c main.h ../config.h ../lush.h eggdrop.h types.h \
-  ../config.h debug.h logfile.h lang.h flags.h proto.h misc_file.h \
-  language.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
-  compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
-  compat/memcpy.h compat/strcasecmp.h compat/strftime.h botnet.h botmsg.h \
-  dcc.h dccutil.h dns.h net.h userrec.h
+botcmd.o: botcmd.c main.h ../config.h ../lush.h eggdrop.h types.h debug.h \
+  logfile.h lang.h flags.h proto.h misc_file.h language.h tclegg.h \
+  tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
+  compat/strcasecmp.h compat/strftime.h modules.h mod/modvals.h \
+  ../src/types.h botcmd.h botnet.h botmsg.h dcc.h dccutil.h help.h misc.h \
+  net.h userrec.h
+botmsg.o: botmsg.c main.h ../config.h ../lush.h eggdrop.h types.h debug.h \
+  logfile.h lang.h flags.h proto.h misc_file.h language.h tclegg.h \
+  tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
+  compat/strcasecmp.h compat/strftime.h botmsg.h botnet.h dcc.h dccutil.h \
+  misc.h net.h
+botnet.o: botnet.c main.h ../config.h ../lush.h eggdrop.h types.h debug.h \
+  logfile.h lang.h flags.h proto.h misc_file.h language.h tclegg.h \
+  tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
+  compat/strcasecmp.h compat/strftime.h botnet.h botmsg.h dcc.h dccutil.h \
+  dns.h mem.h net.h userrec.h
 chanprog.o: chanprog.c main.h ../config.h ../lush.h eggdrop.h types.h \
-  ../config.h debug.h logfile.h lang.h flags.h proto.h misc_file.h \
-  language.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
-  compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
-  compat/memcpy.h compat/strcasecmp.h compat/strftime.h chanprog.h misc.h \
-  rfc1459.h userrec.h
-cmds.o: cmds.c main.h ../config.h ../lush.h eggdrop.h types.h ../config.h \
   debug.h logfile.h lang.h flags.h proto.h misc_file.h language.h \
   tclegg.h tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
   ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
+  compat/strcasecmp.h compat/strftime.h chanprog.h misc.h rfc1459.h \
+  userrec.h
+cmds.o: cmds.c main.h ../config.h ../lush.h eggdrop.h types.h debug.h \
+  logfile.h lang.h flags.h proto.h misc_file.h language.h tclegg.h \
+  tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
   compat/strcasecmp.h compat/strftime.h modules.h mod/modvals.h \
   ../src/types.h cmds.h chanprog.h botmsg.h botnet.h dcc.h dccutil.h \
-  help.h misc.h net.h userfile.h userrec.h
-dcc.o: dcc.c main.h ../config.h ../lush.h eggdrop.h types.h ../config.h \
-  debug.h logfile.h lang.h flags.h proto.h misc_file.h language.h \
-  tclegg.h tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  help.h mem.h misc.h net.h userfile.h userrec.h
+dcc.o: dcc.c main.h ../config.h ../lush.h eggdrop.h types.h debug.h \
+  logfile.h lang.h flags.h proto.h misc_file.h language.h tclegg.h \
+  tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
   ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
   compat/strcasecmp.h compat/strftime.h modules.h mod/modvals.h \
   ../src/types.h dcc.h md5/md5.h botcmd.h botmsg.h botnet.h chanprog.h \
-  cmds.h dccutil.h dns.h help.h match.h misc.h net.h userfile.h userrec.h
+  cmds.h dccutil.h dns.h help.h match.h mem.h misc.h net.h userfile.h \
+  userrec.h
 dccutil.o: dccutil.c main.h ../config.h ../lush.h eggdrop.h types.h \
-  ../config.h debug.h logfile.h lang.h flags.h proto.h misc_file.h \
-  language.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
-  compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
-  compat/memcpy.h compat/strcasecmp.h compat/strftime.h modules.h \
-  mod/modvals.h ../src/types.h dccutil.h dcc.h botmsg.h help.h misc.h \
-  net.h
-debug.o: debug.c main.h ../config.h ../lush.h eggdrop.h types.h \
-  ../config.h debug.h logfile.h lang.h flags.h proto.h misc_file.h \
-  language.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
-  compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
-  compat/memcpy.h compat/strcasecmp.h compat/strftime.h bg.h stat.h dcc.h \
-  dccutil.h misc.h net.h
-dns.o: dns.c main.h ../config.h ../lush.h eggdrop.h types.h ../config.h \
   debug.h logfile.h lang.h flags.h proto.h misc_file.h language.h \
   tclegg.h tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
   ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
-  compat/strcasecmp.h compat/strftime.h dns.h dcc.h dccutil.h misc.h \
-  net.h
-flags.o: flags.c main.h ../config.h ../lush.h eggdrop.h types.h \
-  ../config.h debug.h logfile.h lang.h flags.h proto.h misc_file.h \
-  language.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
-  compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
-  compat/memcpy.h compat/strcasecmp.h compat/strftime.h chanprog.h dcc.h \
-  dccutil.h misc.h rfc1459.h userent.h
-help.o: help.c main.h ../config.h ../lush.h eggdrop.h types.h ../config.h \
-  debug.h logfile.h lang.h flags.h proto.h misc_file.h language.h \
-  tclegg.h tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  compat/strcasecmp.h compat/strftime.h modules.h mod/modvals.h \
+  ../src/types.h dccutil.h dcc.h botmsg.h help.h mem.h misc.h net.h
+debug.o: debug.c main.h ../config.h ../lush.h eggdrop.h types.h debug.h \
+  logfile.h lang.h flags.h proto.h misc_file.h language.h tclegg.h \
+  tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
+  compat/strcasecmp.h compat/strftime.h bg.h stat.h dcc.h dccutil.h mem.h \
+  misc.h net.h
+dns.o: dns.c main.h ../config.h ../lush.h eggdrop.h types.h debug.h \
+  logfile.h lang.h flags.h proto.h misc_file.h language.h tclegg.h \
+  tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
+  compat/strcasecmp.h compat/strftime.h dns.h dcc.h dccutil.h mem.h \
+  misc.h net.h
+flags.o: flags.c main.h ../config.h ../lush.h eggdrop.h types.h debug.h \
+  logfile.h lang.h flags.h proto.h misc_file.h language.h tclegg.h \
+  tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
+  compat/strcasecmp.h compat/strftime.h chanprog.h dcc.h dccutil.h mem.h \
+  misc.h rfc1459.h userent.h
+help.o: help.c main.h ../config.h ../lush.h eggdrop.h types.h debug.h \
+  logfile.h lang.h flags.h proto.h misc_file.h language.h tclegg.h \
+  tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
   ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
   compat/strcasecmp.h compat/strftime.h help.h botmsg.h dccutil.h dcc.h \
-  match.h misc.h
+  match.h mem.h misc.h
 language.o: language.c main.h ../config.h ../lush.h eggdrop.h types.h \
-  ../config.h debug.h logfile.h lang.h flags.h proto.h misc_file.h \
-  language.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
-  compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
-  compat/memcpy.h compat/strcasecmp.h compat/strftime.h dcc.h dccutil.h \
-  help.h misc.h
+  debug.h logfile.h lang.h flags.h proto.h misc_file.h language.h \
+  tclegg.h tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
+  compat/strcasecmp.h compat/strftime.h dcc.h dccutil.h help.h mem.h \
+  misc.h
 logfile.o: logfile.c main.h ../config.h ../lush.h eggdrop.h types.h \
-  ../config.h debug.h logfile.h lang.h flags.h proto.h misc_file.h \
-  language.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
-  compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
-  compat/memcpy.h compat/strcasecmp.h compat/strftime.h stat.h dcc.h \
-  dccutil.h misc.h rfc1459.h
-main.o: main.c main.h ../config.h ../lush.h eggdrop.h types.h ../config.h \
   debug.h logfile.h lang.h flags.h proto.h misc_file.h language.h \
   tclegg.h tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
   ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
+  compat/strcasecmp.h compat/strftime.h stat.h dcc.h dccutil.h mem.h \
+  misc.h rfc1459.h
+main.o: main.c main.h ../config.h ../lush.h eggdrop.h types.h debug.h \
+  logfile.h lang.h flags.h proto.h misc_file.h language.h tclegg.h \
+  tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
   compat/strcasecmp.h compat/strftime.h modules.h mod/modvals.h \
   ../src/types.h bg.h botmsg.h botnet.h cmds.h chanprog.h dcc.h dccutil.h \
-  help.h misc.h net.h traffic.h userfile.h userrec.h patch.h
-match.o: match.c main.h ../config.h ../lush.h eggdrop.h types.h \
-  ../config.h debug.h logfile.h lang.h flags.h proto.h misc_file.h \
-  language.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
-  compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
-  compat/memcpy.h compat/strcasecmp.h compat/strftime.h match.h rfc1459.h
-mem.o: mem.c main.h ../config.h ../lush.h eggdrop.h types.h ../config.h \
-  debug.h logfile.h lang.h flags.h proto.h misc_file.h language.h \
-  tclegg.h tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  help.h mem.h misc.h net.h traffic.h userfile.h userrec.h patch.h
+match.o: match.c main.h ../config.h ../lush.h eggdrop.h types.h debug.h \
+  logfile.h lang.h flags.h proto.h misc_file.h language.h tclegg.h \
+  tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
+  compat/strcasecmp.h compat/strftime.h match.h rfc1459.h
+mem.o: mem.c main.h ../config.h ../lush.h eggdrop.h types.h debug.h \
+  logfile.h lang.h flags.h proto.h misc_file.h language.h tclegg.h \
+  tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
   ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
   compat/strcasecmp.h compat/strftime.h mod/modvals.h ../src/types.h \
-  dccutil.h dcc.h help.h
-misc.o: misc.c main.h ../config.h ../lush.h eggdrop.h types.h ../config.h \
-  debug.h logfile.h lang.h flags.h proto.h misc_file.h language.h \
-  tclegg.h tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  mem.h dccutil.h dcc.h help.h
+misc.o: misc.c main.h ../config.h ../lush.h eggdrop.h types.h debug.h \
+  logfile.h lang.h flags.h proto.h misc_file.h language.h tclegg.h \
+  tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
   ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
   compat/strcasecmp.h compat/strftime.h modules.h mod/modvals.h \
   ../src/types.h stat.h misc.h botmsg.h dcc.h dccutil.h help.h match.h \
-  rfc1459.h userfile.h
+  mem.h rfc1459.h userfile.h
 misc_file.o: misc_file.c main.h ../config.h ../lush.h eggdrop.h types.h \
-  ../config.h debug.h logfile.h lang.h flags.h proto.h misc_file.h \
-  language.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
-  compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
-  compat/memcpy.h compat/strcasecmp.h compat/strftime.h stat.h
+  debug.h logfile.h lang.h flags.h proto.h misc_file.h language.h \
+  tclegg.h tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
+  compat/strcasecmp.h compat/strftime.h stat.h
 modules.o: modules.c main.h ../config.h ../lush.h eggdrop.h types.h \
-  ../config.h debug.h logfile.h lang.h flags.h proto.h misc_file.h \
-  language.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
-  compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
-  compat/memcpy.h compat/strcasecmp.h compat/strftime.h modules.h \
-  mod/modvals.h ../src/types.h md5/md5.h botcmd.h botmsg.h botnet.h \
-  chanprog.h cmds.h dcc.h dccutil.h dns.h help.h match.h misc.h net.h \
-  rfc1459.h userfile.h userent.h userrec.h
-net.o: net.c main.h ../config.h ../lush.h eggdrop.h types.h ../config.h \
   debug.h logfile.h lang.h flags.h proto.h misc_file.h language.h \
   tclegg.h tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
   ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
-  compat/strcasecmp.h compat/strftime.h net.h dcc.h dccutil.h misc.h \
-  traffic.h
+  compat/strcasecmp.h compat/strftime.h modules.h mod/modvals.h \
+  ../src/types.h md5/md5.h botcmd.h botmsg.h botnet.h chanprog.h cmds.h \
+  dcc.h dccutil.h dns.h help.h match.h mem.h misc.h net.h rfc1459.h \
+  userfile.h userent.h userrec.h
+net.o: net.c main.h ../config.h ../lush.h eggdrop.h types.h debug.h \
+  logfile.h lang.h flags.h proto.h misc_file.h language.h tclegg.h \
+  tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
+  compat/strcasecmp.h compat/strftime.h net.h dcc.h dccutil.h mem.h \
+  misc.h traffic.h
 rfc1459.o: rfc1459.c main.h ../config.h ../lush.h eggdrop.h types.h \
-  ../config.h debug.h logfile.h lang.h flags.h proto.h misc_file.h \
-  language.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
-  compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
-  compat/memcpy.h compat/strcasecmp.h compat/strftime.h rfc1459.h
-tcl.o: tcl.c main.h ../config.h ../lush.h eggdrop.h types.h ../config.h \
   debug.h logfile.h lang.h flags.h proto.h misc_file.h language.h \
   tclegg.h tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
   ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
-  compat/strcasecmp.h compat/strftime.h dcc.h misc.h
-tcldcc.o: tcldcc.c main.h ../config.h ../lush.h eggdrop.h types.h \
-  ../config.h debug.h logfile.h lang.h flags.h proto.h misc_file.h \
-  language.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
-  compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
-  compat/memcpy.h compat/strcasecmp.h compat/strftime.h modules.h \
-  mod/modvals.h ../src/types.h tcldcc.h botmsg.h botnet.h chanprog.h \
-  cmds.h dcc.h dccutil.h misc.h net.h userfile.h
+  compat/strcasecmp.h compat/strftime.h rfc1459.h
+tcl.o: tcl.c main.h ../config.h ../lush.h eggdrop.h types.h debug.h \
+  logfile.h lang.h flags.h proto.h misc_file.h language.h tclegg.h \
+  tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
+  compat/strcasecmp.h compat/strftime.h dcc.h mem.h misc.h
+tcldcc.o: tcldcc.c main.h ../config.h ../lush.h eggdrop.h types.h debug.h \
+  logfile.h lang.h flags.h proto.h misc_file.h language.h tclegg.h \
+  tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
+  compat/strcasecmp.h compat/strftime.h modules.h mod/modvals.h \
+  ../src/types.h tcldcc.h botmsg.h botnet.h chanprog.h cmds.h dcc.h \
+  dccutil.h mem.h misc.h net.h userfile.h
 tclhash.o: tclhash.c main.h ../config.h ../lush.h eggdrop.h types.h \
-  ../config.h debug.h logfile.h lang.h flags.h proto.h misc_file.h \
-  language.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
-  compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
-  compat/memcpy.h compat/strcasecmp.h compat/strftime.h botmsg.h dcc.h \
-  dccutil.h match.h misc.h userrec.h
+  debug.h logfile.h lang.h flags.h proto.h misc_file.h language.h \
+  tclegg.h tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
+  compat/strcasecmp.h compat/strftime.h botmsg.h dcc.h dccutil.h match.h \
+  mem.h misc.h userrec.h
 tclmisc.o: tclmisc.c main.h ../config.h ../lush.h eggdrop.h types.h \
-  ../config.h debug.h logfile.h lang.h flags.h proto.h misc_file.h \
-  language.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
-  compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
-  compat/memcpy.h compat/strcasecmp.h compat/strftime.h modules.h \
-  mod/modvals.h ../src/types.h md5/md5.h botmsg.h dcc.h dccutil.h help.h \
-  match.h misc.h net.h
+  debug.h logfile.h lang.h flags.h proto.h misc_file.h language.h \
+  tclegg.h tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
+  compat/strcasecmp.h compat/strftime.h modules.h mod/modvals.h \
+  ../src/types.h md5/md5.h botmsg.h dcc.h dccutil.h help.h match.h misc.h \
+  net.h
 tcluser.o: tcluser.c main.h ../config.h ../lush.h eggdrop.h types.h \
-  ../config.h debug.h logfile.h lang.h flags.h proto.h misc_file.h \
-  language.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
-  compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
-  compat/memcpy.h compat/strcasecmp.h compat/strftime.h modules.h \
-  mod/modvals.h ../src/types.h botmsg.h botnet.h chanprog.h dcc.h misc.h \
+  debug.h logfile.h lang.h flags.h proto.h misc_file.h language.h \
+  tclegg.h tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
+  compat/strcasecmp.h compat/strftime.h modules.h mod/modvals.h \
+  ../src/types.h botmsg.h botnet.h chanprog.h dcc.h mem.h misc.h \
   userfile.h userrec.h
 traffic.o: traffic.c main.h ../config.h ../lush.h eggdrop.h types.h \
-  ../config.h debug.h logfile.h lang.h flags.h proto.h misc_file.h \
-  language.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
-  compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
-  compat/memcpy.h compat/strcasecmp.h compat/strftime.h traffic.h dcc.h \
-  dccutil.h
+  debug.h logfile.h lang.h flags.h proto.h misc_file.h language.h \
+  tclegg.h tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
+  compat/strcasecmp.h compat/strftime.h traffic.h dcc.h dccutil.h
 userent.o: userent.c main.h ../config.h ../lush.h eggdrop.h types.h \
-  ../config.h debug.h logfile.h lang.h flags.h proto.h misc_file.h \
-  language.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
-  compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
-  compat/memcpy.h compat/strcasecmp.h compat/strftime.h userent.h \
-  botmsg.h dcc.h dccutil.h match.h misc.h rfc1459.h userrec.h
+  debug.h logfile.h lang.h flags.h proto.h misc_file.h language.h \
+  tclegg.h tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
+  compat/strcasecmp.h compat/strftime.h userent.h botmsg.h dcc.h \
+  dccutil.h match.h mem.h misc.h rfc1459.h userrec.h
 userfile.o: userfile.c main.h ../config.h ../lush.h eggdrop.h types.h \
-  ../config.h debug.h logfile.h lang.h flags.h proto.h misc_file.h \
-  language.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
-  compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
-  compat/memcpy.h compat/strcasecmp.h compat/strftime.h modules.h \
-  mod/modvals.h ../src/types.h userfile.h chanprog.h dcc.h misc.h \
-  rfc1459.h userrec.h
+  debug.h logfile.h lang.h flags.h proto.h misc_file.h language.h \
+  tclegg.h tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
+  compat/strcasecmp.h compat/strftime.h modules.h mod/modvals.h \
+  ../src/types.h userfile.h chanprog.h dcc.h mem.h misc.h rfc1459.h \
+  userrec.h
 userrec.o: userrec.c main.h ../config.h ../lush.h eggdrop.h types.h \
-  ../config.h debug.h logfile.h lang.h flags.h proto.h misc_file.h \
-  language.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
-  compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
-  compat/memcpy.h compat/strcasecmp.h compat/strftime.h modules.h \
-  mod/modvals.h ../src/types.h userrec.h botmsg.h dcc.h dccutil.h \
-  chanprog.h match.h misc.h rfc1459.h userent.h
-users.o: users.c main.h ../config.h ../lush.h eggdrop.h types.h \
-  ../config.h debug.h logfile.h lang.h flags.h proto.h misc_file.h \
-  language.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
-  compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
-  compat/memcpy.h compat/strcasecmp.h compat/strftime.h modules.h \
-  mod/modvals.h ../src/types.h botmsg.h botnet.h dcc.h dccutil.h \
-  chanprog.h match.h misc.h net.h rfc1459.h userrec.h
+  debug.h logfile.h lang.h flags.h proto.h misc_file.h language.h \
+  tclegg.h tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
+  compat/strcasecmp.h compat/strftime.h modules.h mod/modvals.h \
+  ../src/types.h userrec.h botmsg.h dcc.h dccutil.h chanprog.h match.h \
+  mem.h misc.h rfc1459.h userent.h
+users.o: users.c main.h ../config.h ../lush.h eggdrop.h types.h debug.h \
+  logfile.h lang.h flags.h proto.h misc_file.h language.h tclegg.h \
+  tclhash.h chan.h users.h compat/compat.h compat/inet_aton.h \
+  ../src/main.h compat/snprintf.h compat/memset.h compat/memcpy.h \
+  compat/strcasecmp.h compat/strftime.h modules.h mod/modvals.h \
+  ../src/types.h botmsg.h botnet.h dcc.h dccutil.h chanprog.h match.h \
+  mem.h misc.h net.h rfc1459.h userrec.h
Index: eggdrop1.7/src/compat/Makefile.in
diff -u eggdrop1.7/src/compat/Makefile.in:1.7 eggdrop1.7/src/compat/Makefile.in:1.8
--- eggdrop1.7/src/compat/Makefile.in:1.7	Tue Oct  5 19:04:33 2004
+++ eggdrop1.7/src/compat/Makefile.in	Thu Dec  2 16:15:53 2004
@@ -1,6 +1,6 @@
 # Makefile for src/compat/
 #
-# $Id: Makefile.in,v 1.7 2004/10/06 00:04:33 wcc Exp $
+# $Id: Makefile.in,v 1.8 2004/12/02 22:15:53 wcc Exp $
 
 SHELL = @SHELL@
 top_srcdir = @top_srcdir@
@@ -43,62 +43,56 @@
 #safety hash
 gnu_strftime.o: gnu_strftime.c ../../config.h
 inet_aton.o: inet_aton.c ../../src/main.h ../../config.h ../../lush.h \
-  ../../src/eggdrop.h ../../src/types.h ../../config.h ../../src/debug.h \
+  ../../src/eggdrop.h ../../src/types.h ../../src/debug.h \
   ../../src/logfile.h ../../src/lang.h ../../src/flags.h \
   ../../src/proto.h ../../src/misc_file.h ../../src/language.h \
   ../../src/tclegg.h ../../src/tclhash.h ../../src/chan.h \
   ../../src/users.h ../../src/compat/compat.h \
-  ../../src/compat/inet_aton.h ../../src/main.h \
-  ../../src/compat/snprintf.h ../../src/compat/memset.h \
-  ../../src/compat/memcpy.h ../../src/compat/strcasecmp.h \
-  ../../src/compat/strftime.h inet_aton.h
+  ../../src/compat/inet_aton.h ../../src/compat/snprintf.h \
+  ../../src/compat/memset.h ../../src/compat/memcpy.h \
+  ../../src/compat/strcasecmp.h ../../src/compat/strftime.h inet_aton.h
 memcpy.o: memcpy.c ../../src/main.h ../../config.h ../../lush.h \
-  ../../src/eggdrop.h ../../src/types.h ../../config.h ../../src/debug.h \
+  ../../src/eggdrop.h ../../src/types.h ../../src/debug.h \
   ../../src/logfile.h ../../src/lang.h ../../src/flags.h \
   ../../src/proto.h ../../src/misc_file.h ../../src/language.h \
   ../../src/tclegg.h ../../src/tclhash.h ../../src/chan.h \
   ../../src/users.h ../../src/compat/compat.h \
-  ../../src/compat/inet_aton.h ../../src/main.h \
-  ../../src/compat/snprintf.h ../../src/compat/memset.h \
-  ../../src/compat/memcpy.h ../../src/compat/strcasecmp.h \
-  ../../src/compat/strftime.h memcpy.h
+  ../../src/compat/inet_aton.h ../../src/compat/snprintf.h \
+  ../../src/compat/memset.h ../../src/compat/memcpy.h \
+  ../../src/compat/strcasecmp.h ../../src/compat/strftime.h memcpy.h
 memset.o: memset.c ../../src/main.h ../../config.h ../../lush.h \
-  ../../src/eggdrop.h ../../src/types.h ../../config.h ../../src/debug.h \
+  ../../src/eggdrop.h ../../src/types.h ../../src/debug.h \
   ../../src/logfile.h ../../src/lang.h ../../src/flags.h \
   ../../src/proto.h ../../src/misc_file.h ../../src/language.h \
   ../../src/tclegg.h ../../src/tclhash.h ../../src/chan.h \
   ../../src/users.h ../../src/compat/compat.h \
-  ../../src/compat/inet_aton.h ../../src/main.h \
-  ../../src/compat/snprintf.h ../../src/compat/memset.h \
-  ../../src/compat/memcpy.h ../../src/compat/strcasecmp.h \
-  ../../src/compat/strftime.h memset.h
+  ../../src/compat/inet_aton.h ../../src/compat/snprintf.h \
+  ../../src/compat/memset.h ../../src/compat/memcpy.h \
+  ../../src/compat/strcasecmp.h ../../src/compat/strftime.h memset.h
 snprintf.o: snprintf.c ../../src/main.h ../../config.h ../../lush.h \
-  ../../src/eggdrop.h ../../src/types.h ../../config.h ../../src/debug.h \
+  ../../src/eggdrop.h ../../src/types.h ../../src/debug.h \
   ../../src/logfile.h ../../src/lang.h ../../src/flags.h \
   ../../src/proto.h ../../src/misc_file.h ../../src/language.h \
   ../../src/tclegg.h ../../src/tclhash.h ../../src/chan.h \
   ../../src/users.h ../../src/compat/compat.h \
-  ../../src/compat/inet_aton.h ../../src/main.h \
-  ../../src/compat/snprintf.h ../../src/compat/memset.h \
-  ../../src/compat/memcpy.h ../../src/compat/strcasecmp.h \
-  ../../src/compat/strftime.h snprintf.h
+  ../../src/compat/inet_aton.h ../../src/compat/snprintf.h \
+  ../../src/compat/memset.h ../../src/compat/memcpy.h \
+  ../../src/compat/strcasecmp.h ../../src/compat/strftime.h snprintf.h
 strcasecmp.o: strcasecmp.c ../../src/main.h ../../config.h ../../lush.h \
-  ../../src/eggdrop.h ../../src/types.h ../../config.h ../../src/debug.h \
+  ../../src/eggdrop.h ../../src/types.h ../../src/debug.h \
   ../../src/logfile.h ../../src/lang.h ../../src/flags.h \
   ../../src/proto.h ../../src/misc_file.h ../../src/language.h \
   ../../src/tclegg.h ../../src/tclhash.h ../../src/chan.h \
   ../../src/users.h ../../src/compat/compat.h \
-  ../../src/compat/inet_aton.h ../../src/main.h \
-  ../../src/compat/snprintf.h ../../src/compat/memset.h \
-  ../../src/compat/memcpy.h ../../src/compat/strcasecmp.h \
-  ../../src/compat/strftime.h memcpy.h
+  ../../src/compat/inet_aton.h ../../src/compat/snprintf.h \
+  ../../src/compat/memset.h ../../src/compat/memcpy.h \
+  ../../src/compat/strcasecmp.h ../../src/compat/strftime.h memcpy.h
 strftime.o: strftime.c ../../src/main.h ../../config.h ../../lush.h \
-  ../../src/eggdrop.h ../../src/types.h ../../config.h ../../src/debug.h \
+  ../../src/eggdrop.h ../../src/types.h ../../src/debug.h \
   ../../src/logfile.h ../../src/lang.h ../../src/flags.h \
   ../../src/proto.h ../../src/misc_file.h ../../src/language.h \
   ../../src/tclegg.h ../../src/tclhash.h ../../src/chan.h \
   ../../src/users.h ../../src/compat/compat.h \
-  ../../src/compat/inet_aton.h ../../src/main.h \
-  ../../src/compat/snprintf.h ../../src/compat/memset.h \
-  ../../src/compat/memcpy.h ../../src/compat/strcasecmp.h \
-  ../../src/compat/strftime.h strftime.h
+  ../../src/compat/inet_aton.h ../../src/compat/snprintf.h \
+  ../../src/compat/memset.h ../../src/compat/memcpy.h \
+  ../../src/compat/strcasecmp.h ../../src/compat/strftime.h strftime.h
Index: eggdrop1.7/src/md5/Makefile.in
diff -u eggdrop1.7/src/md5/Makefile.in:1.7 eggdrop1.7/src/md5/Makefile.in:1.8
--- eggdrop1.7/src/md5/Makefile.in:1.7	Tue Oct  5 19:04:33 2004
+++ eggdrop1.7/src/md5/Makefile.in	Thu Dec  2 16:15:53 2004
@@ -1,5 +1,5 @@
 # Makefile for src/md5/
-# $Id: Makefile.in,v 1.7 2004/10/06 00:04:33 wcc Exp $
+# $Id: Makefile.in,v 1.8 2004/12/02 22:15:53 wcc Exp $
 
 SHELL = @SHELL@
 top_srcdir = @top_srcdir@
@@ -42,11 +42,10 @@
 #safety hash
 md5c.o: md5c.c md5.h ../../src/compat/compat.h \
   ../../src/compat/inet_aton.h ../../src/main.h ../../config.h \
-  ../../lush.h ../../src/eggdrop.h ../../src/types.h ../../config.h \
-  ../../src/debug.h ../../src/logfile.h ../../src/lang.h \
-  ../../src/flags.h ../../src/proto.h ../../src/misc_file.h \
-  ../../src/language.h ../../src/tclegg.h ../../src/tclhash.h \
-  ../../src/chan.h ../../src/users.h ../../src/compat/compat.h \
-  ../../src/compat/snprintf.h ../../src/compat/memset.h \
+  ../../lush.h ../../src/eggdrop.h ../../src/types.h ../../src/debug.h \
+  ../../src/logfile.h ../../src/lang.h ../../src/flags.h \
+  ../../src/proto.h ../../src/misc_file.h ../../src/language.h \
+  ../../src/tclegg.h ../../src/tclhash.h ../../src/chan.h \
+  ../../src/users.h ../../src/compat/snprintf.h ../../src/compat/memset.h \
   ../../src/compat/memcpy.h ../../src/compat/strcasecmp.h \
   ../../src/compat/strftime.h
Index: eggdrop1.7/src/mod/assoc.mod/Makefile
diff -u eggdrop1.7/src/mod/assoc.mod/Makefile:1.7 eggdrop1.7/src/mod/assoc.mod/Makefile:1.8
--- eggdrop1.7/src/mod/assoc.mod/Makefile:1.7	Tue Oct  5 19:04:33 2004
+++ eggdrop1.7/src/mod/assoc.mod/Makefile	Thu Dec  2 16:15:53 2004
@@ -1,5 +1,5 @@
 # Makefile for src/mod/assoc.mod/.
-# $Id: Makefile,v 1.7 2004/10/06 00:04:33 wcc Exp $
+# $Id: Makefile,v 1.8 2004/12/02 22:15:53 wcc Exp $
 
 MOD_NAME = assoc
 srcdir = .
@@ -35,14 +35,13 @@
 #safety hash
 ../assoc.o: assoc.c ../../../src/mod/module.h ../../../src/main.h \
   ../../../config.h ../../../lush.h ../../../src/eggdrop.h \
-  ../../../src/types.h ../../../config.h ../../../src/debug.h \
-  ../../../src/logfile.h ../../../src/lang.h ../../../src/flags.h \
-  ../../../src/language.h ../../../src/tclegg.h ../../../src/tclhash.h \
-  ../../../src/chan.h ../../../src/users.h ../../../src/compat/compat.h \
-  ../../../src/compat/inet_aton.h ../../../src/main.h \
-  ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
-  ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
-  ../../../src/compat/strftime.h ../../../src/mod/modvals.h \
-  ../../../src/types.h ../../../src/botmsg.h ../../../src/dcc.h \
-  ../../../src/dccutil.h ../../../src/dcc.h ../../../src/dns.h \
-  ../../../src/logfile.h ../../../src/misc.h ../../../src/net.h assoc.h
+  ../../../src/types.h ../../../src/debug.h ../../../src/logfile.h \
+  ../../../src/lang.h ../../../src/flags.h ../../../src/language.h \
+  ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+  ../../../src/users.h ../../../src/compat/compat.h \
+  ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+  ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+  ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
+  ../../../src/mod/modvals.h ../../../src/botmsg.h ../../../src/dcc.h \
+  ../../../src/dccutil.h ../../../src/dns.h ../../../src/misc.h \
+  ../../../src/net.h assoc.h
Index: eggdrop1.7/src/mod/blowfish.mod/Makefile
diff -u eggdrop1.7/src/mod/blowfish.mod/Makefile:1.7 eggdrop1.7/src/mod/blowfish.mod/Makefile:1.8
--- eggdrop1.7/src/mod/blowfish.mod/Makefile:1.7	Tue Oct  5 19:04:33 2004
+++ eggdrop1.7/src/mod/blowfish.mod/Makefile	Thu Dec  2 16:15:53 2004
@@ -1,6 +1,6 @@
 # Makefile for src/mod/blowfish.mod/.
 #
-# $Id: Makefile,v 1.7 2004/10/06 00:04:33 wcc Exp $
+# $Id: Makefile,v 1.8 2004/12/02 22:15:53 wcc Exp $
 
 MOD_NAME = blowfish
 srcdir = .
@@ -36,15 +36,13 @@
 #safety hash
 ../blowfish.o: blowfish.c ../../../src/mod/module.h ../../../src/main.h \
   ../../../config.h ../../../lush.h ../../../src/eggdrop.h \
-  ../../../src/types.h ../../../config.h ../../../src/debug.h \
-  ../../../src/logfile.h ../../../src/lang.h ../../../src/flags.h \
-  ../../../src/language.h ../../../src/tclegg.h ../../../src/tclhash.h \
-  ../../../src/chan.h ../../../src/users.h ../../../src/compat/compat.h \
-  ../../../src/compat/inet_aton.h ../../../src/main.h \
-  ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
-  ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
-  ../../../src/compat/strftime.h ../../../src/mod/modvals.h \
-  ../../../src/types.h ../../../src/botmsg.h ../../../src/dcc.h \
-  ../../../src/dccutil.h ../../../src/dcc.h ../../../src/dns.h \
-  ../../../src/logfile.h ../../../src/misc.h ../../../src/net.h \
-  blowfish.h bf_tab.h
+  ../../../src/types.h ../../../src/debug.h ../../../src/logfile.h \
+  ../../../src/lang.h ../../../src/flags.h ../../../src/language.h \
+  ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+  ../../../src/users.h ../../../src/compat/compat.h \
+  ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+  ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+  ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
+  ../../../src/mod/modvals.h ../../../src/botmsg.h ../../../src/dcc.h \
+  ../../../src/dccutil.h ../../../src/dns.h ../../../src/misc.h \
+  ../../../src/net.h blowfish.h bf_tab.h
Index: eggdrop1.7/src/mod/channels.mod/Makefile
diff -u eggdrop1.7/src/mod/channels.mod/Makefile:1.7 eggdrop1.7/src/mod/channels.mod/Makefile:1.8
--- eggdrop1.7/src/mod/channels.mod/Makefile:1.7	Tue Oct  5 19:04:33 2004
+++ eggdrop1.7/src/mod/channels.mod/Makefile	Thu Dec  2 16:15:53 2004
@@ -1,6 +1,6 @@
 # Makefile for src/mod/channels.mod/.
 #
-# $Id: Makefile,v 1.7 2004/10/06 00:04:33 wcc Exp $
+# $Id: Makefile,v 1.8 2004/12/02 22:15:53 wcc Exp $
 
 MOD_NAME = channels
 srcdir = .
@@ -36,15 +36,14 @@
 #safety hash
 ../channels.o: channels.c ../../../src/mod/module.h ../../../src/main.h \
   ../../../config.h ../../../lush.h ../../../src/eggdrop.h \
-  ../../../src/types.h ../../../config.h ../../../src/debug.h \
-  ../../../src/logfile.h ../../../src/lang.h ../../../src/flags.h \
-  ../../../src/language.h ../../../src/tclegg.h ../../../src/tclhash.h \
-  ../../../src/chan.h ../../../src/users.h ../../../src/compat/compat.h \
-  ../../../src/compat/inet_aton.h ../../../src/main.h \
-  ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
-  ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
-  ../../../src/compat/strftime.h ../../../src/mod/modvals.h \
-  ../../../src/types.h ../../../src/botmsg.h ../../../src/dcc.h \
-  ../../../src/dccutil.h ../../../src/dcc.h ../../../src/dns.h \
-  ../../../src/logfile.h ../../../src/misc.h ../../../src/net.h \
-  channels.h cmdschan.c tclchan.c userchan.c udefchan.c
+  ../../../src/types.h ../../../src/debug.h ../../../src/logfile.h \
+  ../../../src/lang.h ../../../src/flags.h ../../../src/language.h \
+  ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+  ../../../src/users.h ../../../src/compat/compat.h \
+  ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+  ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+  ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
+  ../../../src/mod/modvals.h ../../../src/botmsg.h ../../../src/dcc.h \
+  ../../../src/dccutil.h ../../../src/dns.h ../../../src/misc.h \
+  ../../../src/net.h channels.h cmdschan.c tclchan.c userchan.c \
+  udefchan.c
Index: eggdrop1.7/src/mod/compress.mod/Makefile.in
diff -u eggdrop1.7/src/mod/compress.mod/Makefile.in:1.7 eggdrop1.7/src/mod/compress.mod/Makefile.in:1.8
--- eggdrop1.7/src/mod/compress.mod/Makefile.in:1.7	Tue Oct  5 19:04:33 2004
+++ eggdrop1.7/src/mod/compress.mod/Makefile.in	Thu Dec  2 16:15:53 2004
@@ -1,6 +1,6 @@
 # Makefile for src/mod/compress.mod/.
 #
-# $Id: Makefile.in,v 1.7 2004/10/06 00:04:33 wcc Exp $
+# $Id: Makefile.in,v 1.8 2004/12/02 22:15:53 wcc Exp $
 
 MOD_NAME = compress
 ZLIB = @ZLIB@
@@ -40,15 +40,14 @@
 #safety hash
 ../compress.o: compress.c ../../../src/mod/module.h ../../../src/main.h \
   ../../../config.h ../../../lush.h ../../../src/eggdrop.h \
-  ../../../src/types.h ../../../config.h ../../../src/debug.h \
-  ../../../src/logfile.h ../../../src/lang.h ../../../src/flags.h \
-  ../../../src/language.h ../../../src/tclegg.h ../../../src/tclhash.h \
-  ../../../src/chan.h ../../../src/users.h ../../../src/compat/compat.h \
-  ../../../src/compat/inet_aton.h ../../../src/main.h \
-  ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
-  ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
-  ../../../src/compat/strftime.h ../../../src/mod/modvals.h \
-  ../../../src/types.h ../../../src/botmsg.h ../../../src/dcc.h \
-  ../../../src/dccutil.h ../../../src/dcc.h ../../../src/dns.h \
-  ../../../src/logfile.h ../../../src/misc.h ../../../src/net.h \
-  ../../../src/mod/share.mod/share.h compress.h tclcompress.c
+  ../../../src/types.h ../../../src/debug.h ../../../src/logfile.h \
+  ../../../src/lang.h ../../../src/flags.h ../../../src/language.h \
+  ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+  ../../../src/users.h ../../../src/compat/compat.h \
+  ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+  ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+  ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
+  ../../../src/mod/modvals.h ../../../src/botmsg.h ../../../src/dcc.h \
+  ../../../src/dccutil.h ../../../src/dns.h ../../../src/misc.h \
+  ../../../src/net.h ../../../src/mod/share.mod/share.h compress.h \
+  tclcompress.c
Index: eggdrop1.7/src/mod/console.mod/Makefile
diff -u eggdrop1.7/src/mod/console.mod/Makefile:1.7 eggdrop1.7/src/mod/console.mod/Makefile:1.8
--- eggdrop1.7/src/mod/console.mod/Makefile:1.7	Tue Oct  5 19:04:33 2004
+++ eggdrop1.7/src/mod/console.mod/Makefile	Thu Dec  2 16:15:53 2004
@@ -1,6 +1,6 @@
 # Makefile for src/mod/console.mod/.
 #
-# $Id: Makefile,v 1.7 2004/10/06 00:04:33 wcc Exp $
+# $Id: Makefile,v 1.8 2004/12/02 22:15:53 wcc Exp $
 
 MOD_NAME = console
 srcdir = .
@@ -36,14 +36,13 @@
 #safety hash
 ../console.o: console.c ../../../src/mod/module.h ../../../src/main.h \
   ../../../config.h ../../../lush.h ../../../src/eggdrop.h \
-  ../../../src/types.h ../../../config.h ../../../src/debug.h \
-  ../../../src/logfile.h ../../../src/lang.h ../../../src/flags.h \
-  ../../../src/language.h ../../../src/tclegg.h ../../../src/tclhash.h \
-  ../../../src/chan.h ../../../src/users.h ../../../src/compat/compat.h \
-  ../../../src/compat/inet_aton.h ../../../src/main.h \
-  ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
-  ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
-  ../../../src/compat/strftime.h ../../../src/mod/modvals.h \
-  ../../../src/types.h ../../../src/botmsg.h ../../../src/dcc.h \
-  ../../../src/dccutil.h ../../../src/dcc.h ../../../src/dns.h \
-  ../../../src/logfile.h ../../../src/misc.h ../../../src/net.h console.h
+  ../../../src/types.h ../../../src/debug.h ../../../src/logfile.h \
+  ../../../src/lang.h ../../../src/flags.h ../../../src/language.h \
+  ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+  ../../../src/users.h ../../../src/compat/compat.h \
+  ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+  ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+  ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
+  ../../../src/mod/modvals.h ../../../src/botmsg.h ../../../src/dcc.h \
+  ../../../src/dccutil.h ../../../src/dns.h ../../../src/misc.h \
+  ../../../src/net.h console.h
Index: eggdrop1.7/src/mod/ctcp.mod/Makefile
diff -u eggdrop1.7/src/mod/ctcp.mod/Makefile:1.7 eggdrop1.7/src/mod/ctcp.mod/Makefile:1.8
--- eggdrop1.7/src/mod/ctcp.mod/Makefile:1.7	Tue Oct  5 19:04:33 2004
+++ eggdrop1.7/src/mod/ctcp.mod/Makefile	Thu Dec  2 16:15:53 2004
@@ -1,6 +1,6 @@
 # Makefile for src/mod/ctcp.mod/.
 #
-# $Id: Makefile,v 1.7 2004/10/06 00:04:33 wcc Exp $
+# $Id: Makefile,v 1.8 2004/12/02 22:15:53 wcc Exp $
 
 MOD_NAME = ctcp
 srcdir = .
@@ -36,15 +36,13 @@
 #safety hash
 ../ctcp.o: ctcp.c ctcp.h ../../../src/mod/module.h ../../../src/main.h \
   ../../../config.h ../../../lush.h ../../../src/eggdrop.h \
-  ../../../src/types.h ../../../config.h ../../../src/debug.h \
-  ../../../src/logfile.h ../../../src/lang.h ../../../src/flags.h \
-  ../../../src/language.h ../../../src/tclegg.h ../../../src/tclhash.h \
-  ../../../src/chan.h ../../../src/users.h ../../../src/compat/compat.h \
-  ../../../src/compat/inet_aton.h ../../../src/main.h \
-  ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
-  ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
-  ../../../src/compat/strftime.h ../../../src/mod/modvals.h \
-  ../../../src/types.h ../../../src/botmsg.h ../../../src/dcc.h \
-  ../../../src/dccutil.h ../../../src/dcc.h ../../../src/dns.h \
-  ../../../src/logfile.h ../../../src/misc.h ../../../src/net.h \
-  ../../../src/mod/server.mod/server.h
+  ../../../src/types.h ../../../src/debug.h ../../../src/logfile.h \
+  ../../../src/lang.h ../../../src/flags.h ../../../src/language.h \
+  ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+  ../../../src/users.h ../../../src/compat/compat.h \
+  ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+  ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+  ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
+  ../../../src/mod/modvals.h ../../../src/botmsg.h ../../../src/dcc.h \
+  ../../../src/dccutil.h ../../../src/dns.h ../../../src/misc.h \
+  ../../../src/net.h ../../../src/mod/server.mod/server.h
Index: eggdrop1.7/src/mod/dns.mod/Makefile.in
diff -u eggdrop1.7/src/mod/dns.mod/Makefile.in:1.7 eggdrop1.7/src/mod/dns.mod/Makefile.in:1.8
--- eggdrop1.7/src/mod/dns.mod/Makefile.in:1.7	Tue Oct  5 19:04:33 2004
+++ eggdrop1.7/src/mod/dns.mod/Makefile.in	Thu Dec  2 16:15:53 2004
@@ -1,6 +1,6 @@
 # Makefile for src/mod/dns.mod/.
 #
-# $Id: Makefile.in,v 1.7 2004/10/06 00:04:33 wcc Exp $
+# $Id: Makefile.in,v 1.8 2004/12/02 22:15:53 wcc Exp $
 
 MOD_NAME = dns
 RESLIB = @RESLIB@
@@ -41,15 +41,13 @@
 #safety hash
 ../dns.o: dns.c ../../../src/mod/module.h ../../../src/main.h \
   ../../../config.h ../../../lush.h ../../../src/eggdrop.h \
-  ../../../src/types.h ../../../config.h ../../../src/debug.h \
-  ../../../src/logfile.h ../../../src/lang.h ../../../src/flags.h \
-  ../../../src/language.h ../../../src/tclegg.h ../../../src/tclhash.h \
-  ../../../src/chan.h ../../../src/users.h ../../../src/compat/compat.h \
-  ../../../src/compat/inet_aton.h ../../../src/main.h \
-  ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
-  ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
-  ../../../src/compat/strftime.h ../../../src/mod/modvals.h \
-  ../../../src/types.h ../../../src/botmsg.h ../../../src/dcc.h \
-  ../../../src/dccutil.h ../../../src/dcc.h ../../../src/dns.h \
-  ../../../src/logfile.h ../../../src/misc.h ../../../src/net.h dns.h \
-  coredns.c
+  ../../../src/types.h ../../../src/debug.h ../../../src/logfile.h \
+  ../../../src/lang.h ../../../src/flags.h ../../../src/language.h \
+  ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+  ../../../src/users.h ../../../src/compat/compat.h \
+  ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+  ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+  ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
+  ../../../src/mod/modvals.h ../../../src/botmsg.h ../../../src/dcc.h \
+  ../../../src/dccutil.h ../../../src/dns.h ../../../src/misc.h \
+  ../../../src/net.h dns.h coredns.c
Index: eggdrop1.7/src/mod/filesys.mod/Makefile
diff -u eggdrop1.7/src/mod/filesys.mod/Makefile:1.7 eggdrop1.7/src/mod/filesys.mod/Makefile:1.8
--- eggdrop1.7/src/mod/filesys.mod/Makefile:1.7	Tue Oct  5 19:04:33 2004
+++ eggdrop1.7/src/mod/filesys.mod/Makefile	Thu Dec  2 16:15:53 2004
@@ -1,6 +1,6 @@
 # Makefile for src/mod/filesys.mod/.
 #
-# $Id: Makefile,v 1.7 2004/10/06 00:04:33 wcc Exp $
+# $Id: Makefile,v 1.8 2004/12/02 22:15:53 wcc Exp $
 
 MOD_NAME = filesys
 srcdir = .
@@ -36,17 +36,16 @@
 #safety hash
 ../filesys.o: filesys.c ../../../src/mod/module.h ../../../src/main.h \
   ../../../config.h ../../../lush.h ../../../src/eggdrop.h \
-  ../../../src/types.h ../../../config.h ../../../src/debug.h \
-  ../../../src/logfile.h ../../../src/lang.h ../../../src/flags.h \
-  ../../../src/language.h ../../../src/tclegg.h ../../../src/tclhash.h \
-  ../../../src/chan.h ../../../src/users.h ../../../src/compat/compat.h \
-  ../../../src/compat/inet_aton.h ../../../src/main.h \
-  ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
-  ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
-  ../../../src/compat/strftime.h ../../../src/mod/modvals.h \
-  ../../../src/types.h ../../../src/botmsg.h ../../../src/dcc.h \
-  ../../../src/dccutil.h ../../../src/dcc.h ../../../src/dns.h \
-  ../../../src/logfile.h ../../../src/misc.h ../../../src/net.h filedb3.h \
-  filesys.h ../../../src/lang.h ../../../src/mod/transfer.mod/transfer.h \
-  files.h dbcompat.h filelist.h ../../../src/cmds.h files.c \
-  ../../../src/stat.h filedb3.c tclfiles.c dbcompat.c filelist.c
+  ../../../src/types.h ../../../src/debug.h ../../../src/logfile.h \
+  ../../../src/lang.h ../../../src/flags.h ../../../src/language.h \
+  ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+  ../../../src/users.h ../../../src/compat/compat.h \
+  ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+  ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+  ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
+  ../../../src/mod/modvals.h ../../../src/botmsg.h ../../../src/dcc.h \
+  ../../../src/dccutil.h ../../../src/dns.h ../../../src/misc.h \
+  ../../../src/net.h filedb3.h filesys.h \
+  ../../../src/mod/transfer.mod/transfer.h files.h dbcompat.h filelist.h \
+  ../../../src/cmds.h files.c ../../../src/stat.h filedb3.c tclfiles.c \
+  dbcompat.c filelist.c
Index: eggdrop1.7/src/mod/irc.mod/Makefile
diff -u eggdrop1.7/src/mod/irc.mod/Makefile:1.7 eggdrop1.7/src/mod/irc.mod/Makefile:1.8
--- eggdrop1.7/src/mod/irc.mod/Makefile:1.7	Tue Oct  5 19:04:34 2004
+++ eggdrop1.7/src/mod/irc.mod/Makefile	Thu Dec  2 16:15:53 2004
@@ -1,6 +1,6 @@
 # Makefile for src/mod/irc.mod/.
 #
-# $Id: Makefile,v 1.7 2004/10/06 00:04:34 wcc Exp $
+# $Id: Makefile,v 1.8 2004/12/02 22:15:53 wcc Exp $
 
 MOD_NAME = irc
 srcdir = .
@@ -36,17 +36,15 @@
 #safety hash
 ../irc.o: irc.c ../../../src/mod/module.h ../../../src/main.h \
   ../../../config.h ../../../lush.h ../../../src/eggdrop.h \
-  ../../../src/types.h ../../../config.h ../../../src/debug.h \
-  ../../../src/logfile.h ../../../src/lang.h ../../../src/flags.h \
-  ../../../src/language.h ../../../src/tclegg.h ../../../src/tclhash.h \
-  ../../../src/chan.h ../../../src/users.h ../../../src/compat/compat.h \
-  ../../../src/compat/inet_aton.h ../../../src/main.h \
-  ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
-  ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
-  ../../../src/compat/strftime.h ../../../src/mod/modvals.h \
-  ../../../src/types.h ../../../src/botmsg.h ../../../src/dcc.h \
-  ../../../src/dccutil.h ../../../src/dcc.h ../../../src/dns.h \
-  ../../../src/logfile.h ../../../src/misc.h ../../../src/net.h irc.h \
-  ../../../src/mod/server.mod/server.h \
+  ../../../src/types.h ../../../src/debug.h ../../../src/logfile.h \
+  ../../../src/lang.h ../../../src/flags.h ../../../src/language.h \
+  ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+  ../../../src/users.h ../../../src/compat/compat.h \
+  ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+  ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+  ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
+  ../../../src/mod/modvals.h ../../../src/botmsg.h ../../../src/dcc.h \
+  ../../../src/dccutil.h ../../../src/dns.h ../../../src/misc.h \
+  ../../../src/net.h irc.h ../../../src/mod/server.mod/server.h \
   ../../../src/mod/channels.mod/channels.h chan.c mode.c cmdsirc.c \
   msgcmds.c tclirc.c
Index: eggdrop1.7/src/mod/notes.mod/Makefile
diff -u eggdrop1.7/src/mod/notes.mod/Makefile:1.7 eggdrop1.7/src/mod/notes.mod/Makefile:1.8
--- eggdrop1.7/src/mod/notes.mod/Makefile:1.7	Tue Oct  5 19:04:34 2004
+++ eggdrop1.7/src/mod/notes.mod/Makefile	Thu Dec  2 16:15:53 2004
@@ -1,6 +1,6 @@
 # Makefile for src/mod/notes.mod/.
 #
-# $Id: Makefile,v 1.7 2004/10/06 00:04:34 wcc Exp $
+# $Id: Makefile,v 1.8 2004/12/02 22:15:53 wcc Exp $
 
 MOD_NAME = notes
 srcdir = .
@@ -36,15 +36,13 @@
 #safety hash
 ../notes.o: notes.c ../../../src/mod/module.h ../../../src/main.h \
   ../../../config.h ../../../lush.h ../../../src/eggdrop.h \
-  ../../../src/types.h ../../../config.h ../../../src/debug.h \
-  ../../../src/logfile.h ../../../src/lang.h ../../../src/flags.h \
-  ../../../src/language.h ../../../src/tclegg.h ../../../src/tclhash.h \
-  ../../../src/chan.h ../../../src/users.h ../../../src/compat/compat.h \
-  ../../../src/compat/inet_aton.h ../../../src/main.h \
-  ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
-  ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
-  ../../../src/compat/strftime.h ../../../src/mod/modvals.h \
-  ../../../src/types.h ../../../src/botmsg.h ../../../src/dcc.h \
-  ../../../src/dccutil.h ../../../src/dcc.h ../../../src/dns.h \
-  ../../../src/logfile.h ../../../src/misc.h ../../../src/net.h notes.h \
-  cmdsnote.c
+  ../../../src/types.h ../../../src/debug.h ../../../src/logfile.h \
+  ../../../src/lang.h ../../../src/flags.h ../../../src/language.h \
+  ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+  ../../../src/users.h ../../../src/compat/compat.h \
+  ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+  ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+  ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
+  ../../../src/mod/modvals.h ../../../src/botmsg.h ../../../src/dcc.h \
+  ../../../src/dccutil.h ../../../src/dns.h ../../../src/misc.h \
+  ../../../src/net.h notes.h cmdsnote.c
Index: eggdrop1.7/src/mod/seen.mod/Makefile
diff -u eggdrop1.7/src/mod/seen.mod/Makefile:1.7 eggdrop1.7/src/mod/seen.mod/Makefile:1.8
--- eggdrop1.7/src/mod/seen.mod/Makefile:1.7	Tue Oct  5 19:04:34 2004
+++ eggdrop1.7/src/mod/seen.mod/Makefile	Thu Dec  2 16:15:53 2004
@@ -1,6 +1,6 @@
 # Makefile for src/mod/seen.mod/.
 #
-# $Id: Makefile,v 1.7 2004/10/06 00:04:34 wcc Exp $
+# $Id: Makefile,v 1.8 2004/12/02 22:15:53 wcc Exp $
 
 MOD_NAME = seen
 srcdir = .
@@ -36,16 +36,13 @@
 #safety hash
 ../seen.o: seen.c ../../../src/mod/module.h ../../../src/main.h \
   ../../../config.h ../../../lush.h ../../../src/eggdrop.h \
-  ../../../src/types.h ../../../config.h ../../../src/debug.h \
-  ../../../src/logfile.h ../../../src/lang.h ../../../src/flags.h \
-  ../../../src/language.h ../../../src/tclegg.h ../../../src/tclhash.h \
-  ../../../src/chan.h ../../../src/users.h ../../../src/compat/compat.h \
-  ../../../src/compat/inet_aton.h ../../../src/main.h \
-  ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
-  ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
-  ../../../src/compat/strftime.h ../../../src/mod/modvals.h \
-  ../../../src/types.h ../../../src/botmsg.h ../../../src/dcc.h \
-  ../../../src/dccutil.h ../../../src/dcc.h ../../../src/dns.h \
-  ../../../src/logfile.h ../../../src/misc.h ../../../src/net.h \
-  ../../../src/users.h ../../../src/chan.h \
-  ../../../src/mod/channels.mod/channels.h
+  ../../../src/types.h ../../../src/debug.h ../../../src/logfile.h \
+  ../../../src/lang.h ../../../src/flags.h ../../../src/language.h \
+  ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+  ../../../src/users.h ../../../src/compat/compat.h \
+  ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+  ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+  ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
+  ../../../src/mod/modvals.h ../../../src/botmsg.h ../../../src/dcc.h \
+  ../../../src/dccutil.h ../../../src/dns.h ../../../src/misc.h \
+  ../../../src/net.h ../../../src/mod/channels.mod/channels.h
Index: eggdrop1.7/src/mod/server.mod/Makefile
diff -u eggdrop1.7/src/mod/server.mod/Makefile:1.7 eggdrop1.7/src/mod/server.mod/Makefile:1.8
--- eggdrop1.7/src/mod/server.mod/Makefile:1.7	Tue Oct  5 19:04:34 2004
+++ eggdrop1.7/src/mod/server.mod/Makefile	Thu Dec  2 16:15:53 2004
@@ -1,6 +1,6 @@
 # Makefile for src/mod/server.mod/.
 #
-# $Id: Makefile,v 1.7 2004/10/06 00:04:34 wcc Exp $
+# $Id: Makefile,v 1.8 2004/12/02 22:15:53 wcc Exp $
 
 MOD_NAME = server
 srcdir = .
@@ -36,15 +36,13 @@
 #safety hash
 ../server.o: server.c ../../../src/mod/module.h ../../../src/main.h \
   ../../../config.h ../../../lush.h ../../../src/eggdrop.h \
-  ../../../src/types.h ../../../config.h ../../../src/debug.h \
-  ../../../src/logfile.h ../../../src/lang.h ../../../src/flags.h \
-  ../../../src/language.h ../../../src/tclegg.h ../../../src/tclhash.h \
-  ../../../src/chan.h ../../../src/users.h ../../../src/compat/compat.h \
-  ../../../src/compat/inet_aton.h ../../../src/main.h \
-  ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
-  ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
-  ../../../src/compat/strftime.h ../../../src/mod/modvals.h \
-  ../../../src/types.h ../../../src/botmsg.h ../../../src/dcc.h \
-  ../../../src/dccutil.h ../../../src/dcc.h ../../../src/dns.h \
-  ../../../src/logfile.h ../../../src/misc.h ../../../src/net.h server.h \
-  servmsg.c cmdsserv.c tclserv.c
+  ../../../src/types.h ../../../src/debug.h ../../../src/logfile.h \
+  ../../../src/lang.h ../../../src/flags.h ../../../src/language.h \
+  ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+  ../../../src/users.h ../../../src/compat/compat.h \
+  ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+  ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+  ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
+  ../../../src/mod/modvals.h ../../../src/botmsg.h ../../../src/dcc.h \
+  ../../../src/dccutil.h ../../../src/dns.h ../../../src/misc.h \
+  ../../../src/net.h server.h servmsg.c cmdsserv.c tclserv.c
Index: eggdrop1.7/src/mod/share.mod/Makefile
diff -u eggdrop1.7/src/mod/share.mod/Makefile:1.7 eggdrop1.7/src/mod/share.mod/Makefile:1.8
--- eggdrop1.7/src/mod/share.mod/Makefile:1.7	Tue Oct  5 19:04:34 2004
+++ eggdrop1.7/src/mod/share.mod/Makefile	Thu Dec  2 16:15:53 2004
@@ -1,6 +1,6 @@
 # Makefile for src/mod/share.mod/.
 #
-# $Id: Makefile,v 1.7 2004/10/06 00:04:34 wcc Exp $
+# $Id: Makefile,v 1.8 2004/12/02 22:15:53 wcc Exp $
 
 MOD_NAME = share
 srcdir = .
@@ -36,18 +36,15 @@
 #safety hash
 ../share.o: share.c ../../../src/mod/module.h ../../../src/main.h \
   ../../../config.h ../../../lush.h ../../../src/eggdrop.h \
-  ../../../src/types.h ../../../config.h ../../../src/debug.h \
-  ../../../src/logfile.h ../../../src/lang.h ../../../src/flags.h \
-  ../../../src/language.h ../../../src/tclegg.h ../../../src/tclhash.h \
-  ../../../src/chan.h ../../../src/users.h ../../../src/compat/compat.h \
-  ../../../src/compat/inet_aton.h ../../../src/main.h \
-  ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
-  ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
-  ../../../src/compat/strftime.h ../../../src/mod/modvals.h \
-  ../../../src/types.h ../../../src/botmsg.h ../../../src/dcc.h \
-  ../../../src/dccutil.h ../../../src/dcc.h ../../../src/dns.h \
-  ../../../src/logfile.h ../../../src/misc.h ../../../src/net.h \
-  ../../../src/chan.h ../../../src/users.h \
-  ../../../src/mod/transfer.mod/transfer.h \
+  ../../../src/types.h ../../../src/debug.h ../../../src/logfile.h \
+  ../../../src/lang.h ../../../src/flags.h ../../../src/language.h \
+  ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+  ../../../src/users.h ../../../src/compat/compat.h \
+  ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+  ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+  ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
+  ../../../src/mod/modvals.h ../../../src/botmsg.h ../../../src/dcc.h \
+  ../../../src/dccutil.h ../../../src/dns.h ../../../src/misc.h \
+  ../../../src/net.h ../../../src/mod/transfer.mod/transfer.h \
   ../../../src/mod/channels.mod/channels.h ../../../src/botcmd.h share.h \
   uf_features.c
Index: eggdrop1.7/src/mod/transfer.mod/Makefile
diff -u eggdrop1.7/src/mod/transfer.mod/Makefile:1.7 eggdrop1.7/src/mod/transfer.mod/Makefile:1.8
--- eggdrop1.7/src/mod/transfer.mod/Makefile:1.7	Tue Oct  5 19:04:34 2004
+++ eggdrop1.7/src/mod/transfer.mod/Makefile	Thu Dec  2 16:15:53 2004
@@ -1,6 +1,6 @@
 # Makefile for src/mod/transfer.mod/.
 #
-# $Id: Makefile,v 1.7 2004/10/06 00:04:34 wcc Exp $
+# $Id: Makefile,v 1.8 2004/12/02 22:15:53 wcc Exp $
 
 MOD_NAME = transfer
 srcdir = .
@@ -36,16 +36,14 @@
 #safety hash
 ../transfer.o: transfer.c ../../../src/mod/module.h ../../../src/main.h \
   ../../../config.h ../../../lush.h ../../../src/eggdrop.h \
-  ../../../src/types.h ../../../config.h ../../../src/debug.h \
-  ../../../src/logfile.h ../../../src/lang.h ../../../src/flags.h \
-  ../../../src/language.h ../../../src/tclegg.h ../../../src/tclhash.h \
-  ../../../src/chan.h ../../../src/users.h ../../../src/compat/compat.h \
-  ../../../src/compat/inet_aton.h ../../../src/main.h \
-  ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
-  ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
-  ../../../src/compat/strftime.h ../../../src/mod/modvals.h \
-  ../../../src/types.h ../../../src/botmsg.h ../../../src/dcc.h \
-  ../../../src/dccutil.h ../../../src/dcc.h ../../../src/dns.h \
-  ../../../src/logfile.h ../../../src/misc.h ../../../src/net.h \
-  ../../../src/users.h transfer.h transferfstat.c transferqueue.c \
+  ../../../src/types.h ../../../src/debug.h ../../../src/logfile.h \
+  ../../../src/lang.h ../../../src/flags.h ../../../src/language.h \
+  ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+  ../../../src/users.h ../../../src/compat/compat.h \
+  ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+  ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+  ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
+  ../../../src/mod/modvals.h ../../../src/botmsg.h ../../../src/dcc.h \
+  ../../../src/dccutil.h ../../../src/dns.h ../../../src/misc.h \
+  ../../../src/net.h transfer.h transferfstat.c transferqueue.c \
   tcltransfer.c
Index: eggdrop1.7/src/mod/uptime.mod/Makefile
diff -u eggdrop1.7/src/mod/uptime.mod/Makefile:1.7 eggdrop1.7/src/mod/uptime.mod/Makefile:1.8
--- eggdrop1.7/src/mod/uptime.mod/Makefile:1.7	Tue Oct  5 19:04:34 2004
+++ eggdrop1.7/src/mod/uptime.mod/Makefile	Thu Dec  2 16:15:54 2004
@@ -1,6 +1,6 @@
 # Makefile for src/mod/uptime.mod/.
 #
-# $Id: Makefile,v 1.7 2004/10/06 00:04:34 wcc Exp $
+# $Id: Makefile,v 1.8 2004/12/02 22:15:54 wcc Exp $
 
 MOD_NAME = uptime
 srcdir = .
@@ -36,14 +36,13 @@
 #safety hash
 ../uptime.o: uptime.c uptime.h ../module.h ../../../src/main.h \
   ../../../config.h ../../../lush.h ../../../src/eggdrop.h \
-  ../../../src/types.h ../../../config.h ../../../src/debug.h \
-  ../../../src/logfile.h ../../../src/lang.h ../../../src/flags.h \
-  ../../../src/language.h ../../../src/tclegg.h ../../../src/tclhash.h \
-  ../../../src/chan.h ../../../src/users.h ../../../src/compat/compat.h \
-  ../../../src/compat/inet_aton.h ../../../src/main.h \
-  ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
-  ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
-  ../../../src/compat/strftime.h ../modvals.h ../../../src/types.h \
-  ../../../src/botmsg.h ../../../src/dcc.h ../../../src/dccutil.h \
-  ../../../src/dcc.h ../../../src/dns.h ../../../src/logfile.h \
-  ../../../src/misc.h ../../../src/net.h ../server.mod/server.h
+  ../../../src/types.h ../../../src/debug.h ../../../src/logfile.h \
+  ../../../src/lang.h ../../../src/flags.h ../../../src/language.h \
+  ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+  ../../../src/users.h ../../../src/compat/compat.h \
+  ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+  ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+  ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
+  ../modvals.h ../../../src/botmsg.h ../../../src/dcc.h \
+  ../../../src/dccutil.h ../../../src/dns.h ../../../src/misc.h \
+  ../../../src/net.h ../server.mod/server.h
Index: eggdrop1.7/src/mod/wire.mod/Makefile
diff -u eggdrop1.7/src/mod/wire.mod/Makefile:1.7 eggdrop1.7/src/mod/wire.mod/Makefile:1.8
--- eggdrop1.7/src/mod/wire.mod/Makefile:1.7	Tue Oct  5 19:04:34 2004
+++ eggdrop1.7/src/mod/wire.mod/Makefile	Thu Dec  2 16:15:54 2004
@@ -1,6 +1,6 @@
 # Makefile for src/mod/wire.mod/.
 #
-# $Id: Makefile,v 1.7 2004/10/06 00:04:34 wcc Exp $
+# $Id: Makefile,v 1.8 2004/12/02 22:15:54 wcc Exp $
 
 MOD_NAME = wire
 srcdir = .
@@ -36,15 +36,13 @@
 #safety hash
 ../wire.o: wire.c ../../../src/mod/module.h ../../../src/main.h \
   ../../../config.h ../../../lush.h ../../../src/eggdrop.h \
-  ../../../src/types.h ../../../config.h ../../../src/debug.h \
-  ../../../src/logfile.h ../../../src/lang.h ../../../src/flags.h \
-  ../../../src/language.h ../../../src/tclegg.h ../../../src/tclhash.h \
-  ../../../src/chan.h ../../../src/users.h ../../../src/compat/compat.h \
-  ../../../src/compat/inet_aton.h ../../../src/main.h \
-  ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
-  ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
-  ../../../src/compat/strftime.h ../../../src/mod/modvals.h \
-  ../../../src/types.h ../../../src/botmsg.h ../../../src/dcc.h \
-  ../../../src/dccutil.h ../../../src/dcc.h ../../../src/dns.h \
-  ../../../src/logfile.h ../../../src/misc.h ../../../src/net.h \
-  ../../../src/users.h ../../../src/chan.h wire.h
+  ../../../src/types.h ../../../src/debug.h ../../../src/logfile.h \
+  ../../../src/lang.h ../../../src/flags.h ../../../src/language.h \
+  ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+  ../../../src/users.h ../../../src/compat/compat.h \
+  ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+  ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+  ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
+  ../../../src/mod/modvals.h ../../../src/botmsg.h ../../../src/dcc.h \
+  ../../../src/dccutil.h ../../../src/dns.h ../../../src/misc.h \
+  ../../../src/net.h wire.h
Index: eggdrop1.7/src/mod/woobie.mod/Makefile
diff -u eggdrop1.7/src/mod/woobie.mod/Makefile:1.7 eggdrop1.7/src/mod/woobie.mod/Makefile:removed
--- eggdrop1.7/src/mod/woobie.mod/Makefile:1.7	Tue Oct  5 19:04:34 2004
+++ eggdrop1.7/src/mod/woobie.mod/Makefile	Thu Dec  2 16:16:04 2004
@@ -1,49 +0,0 @@
-# Makefile for src/mod/woobie.mod/.
-#
-# $Id: Makefile,v 1.7 2004/10/06 00:04:34 wcc Exp $
-
-MOD_NAME = woobie
-srcdir = .
-
-
-doofus:
-	@echo ""
-	@echo "Let's try this from the right directory..."
-	@echo ""
-	@cd ../../../ && make
-
-static: ../$(MOD_NAME).o
-
-modules: ../../../$(MOD_NAME).$(MOD_EXT)
-
-../$(MOD_NAME).o:
-	$(CC) $(CFLAGS) -DMAKING_MODS -c $(srcdir)/$(MOD_NAME).c
-	@rm -f ../$(MOD_NAME).o
-	mv $(MOD_NAME).o ../
-
-../../../$(MOD_NAME).$(MOD_EXT): ../$(MOD_NAME).o
-	$(LD) -o ../../../$(MOD_NAME).$(MOD_EXT) ../$(MOD_NAME).o $(XLIBS) $(MODULE_XLIBS)
-	$(STRIP) ../../../$(MOD_NAME).$(MOD_EXT)
-
-depend:
-	$(CC) $(CFLAGS) -MM $(MOD_NAME).c -MT ../$(MOD_NAME).o > .depend
-
-clean:
-	@rm -f .depend *.o *.$(MOD_EXT) *~
-
-distclean: clean
-
-#safety hash
-../woobie.o: woobie.c ../../../src/mod/module.h ../../../src/main.h \
-  ../../../config.h ../../../lush.h ../../../src/eggdrop.h \
-  ../../../src/types.h ../../../config.h ../../../src/debug.h \
-  ../../../src/logfile.h ../../../src/lang.h ../../../src/flags.h \
-  ../../../src/language.h ../../../src/tclegg.h ../../../src/tclhash.h \
-  ../../../src/chan.h ../../../src/users.h ../../../src/compat/compat.h \
-  ../../../src/compat/inet_aton.h ../../../src/main.h \
-  ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
-  ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
-  ../../../src/compat/strftime.h ../../../src/mod/modvals.h \
-  ../../../src/types.h ../../../src/botmsg.h ../../../src/dcc.h \
-  ../../../src/dccutil.h ../../../src/dcc.h ../../../src/dns.h \
-  ../../../src/logfile.h ../../../src/misc.h ../../../src/net.h
Index: eggdrop1.7/src/mod/woobie.mod/modinfo
diff -u eggdrop1.7/src/mod/woobie.mod/modinfo:1.1.1.1 eggdrop1.7/src/mod/woobie.mod/modinfo:removed
--- eggdrop1.7/src/mod/woobie.mod/modinfo:1.1.1.1	Tue Aug 24 20:02:11 2004
+++ eggdrop1.7/src/mod/woobie.mod/modinfo	Thu Dec  2 16:16:04 2004
@@ -1,5 +0,0 @@
-# $Id: modinfo,v 1.1.1.1 2004/08/25 01:02:11 wcc Exp $
-DESC:This module is for demonstrative purposes only.
-DESC:
-DESC:Only programmers interested in module programming might want to enable
-DESC:this module. Everyone else should DISABLE it.
Index: eggdrop1.7/src/mod/woobie.mod/woobie.c
diff -u eggdrop1.7/src/mod/woobie.mod/woobie.c:1.3 eggdrop1.7/src/mod/woobie.mod/woobie.c:removed
--- eggdrop1.7/src/mod/woobie.mod/woobie.c:1.3	Wed Aug 25 22:21:15 2004
+++ eggdrop1.7/src/mod/woobie.mod/woobie.c	Thu Dec  2 16:16:04 2004
@@ -1,148 +0,0 @@
-/*
- * woobie.c -- part of woobie.mod
- *   nonsensical command to exemplify module programming
- *
- * Originally written by ButchBub         15 July     1997
- * Comments by Fabian Knittel             29 December 1999
- *
- * $Id: woobie.c,v 1.3 2004/08/26 03:21:15 wcc Exp $
- */
-/*
- * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Eggheads Development Team
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
- */
-
-#define MODULE_NAME "woobie"
-#define MAKING_WOOBIE
-
-#include "src/mod/module.h"
-
-#undef global
-/* Pointer to the eggdrop core function table. Gets initialized in
- * woobie_start().
- */
-static Function *global = NULL;
-
-/* Calculate the memory we keep allocated.
- */
-static int woobie_expmem()
-{
-  int size = 0;
-
-  Context;
-  return size;
-}
-
-static int cmd_woobie(struct userrec *u, int idx, char *par)
-{
-  /* Define a context.
-   *
-   * If the bot crashes after the context, it will be  the last mentioned
-   * in the resulting DEBUG file. This helps you debugging.
-   */
-  Context;
-
-  /* Log the command as soon as you're sure all parameters are valid. */
-  putlog(LOG_CMDS, "*", "#%s# woobie", dcc[idx].nick);
-
-  dprintf(idx, "WOOBIE!\n");
-  return 0;
-}
-
-/* A report on the module status.
- *
- * details is either 0 or 1:
- *    0 - `.status'
- *    1 - `.status all'  or  `.module woobie'
- */
-static void woobie_report(int idx, int details)
-{
-  if (details) {
-    int size = woobie_expmem();
-
-    dprintf(idx, "    Using %d byte%s of memory\n", size,
-            (size != 1) ? "s" : "");
-  }
-}
-
-/* Note: The tcl-name is automatically created if you set it to NULL. In
- *       the example below it would be just "*dcc:woobie". If you specify
- *       "woobie:woobie" it would be "*dcc:woobie:woobie" instead.
- *               ^----- command name   ^--- table name
- *        ^------------ module name
- *
- *       This is only useful for stackable binding tables (and H_dcc isn't
- *       stackable).
- */
-static cmd_t mydcc[] = {
-  /* command  flags  function     tcl-name */
-  {"woobie",  "",    cmd_woobie,  NULL},
-  {NULL,      NULL,  NULL,        NULL}  /* Mark end. */
-};
-
-static char *woobie_close()
-{
-  Context;
-  rem_builtins(H_dcc, mydcc);
-  module_undepend(MODULE_NAME);
-  return NULL;
-}
-
-/* Define the prototype here, to avoid warning messages in the
- * woobie_table.
- */
-EXPORT_SCOPE char *woobie_start();
-
-/* This function table is exported and may be used by other modules and
- * the core.
- *
- * The first four have to be defined (you may define them as NULL), as
- * they are checked by eggdrop core.
- */
-static Function woobie_table[] = {
-  (Function) woobie_start,
-  (Function) woobie_close,
-  (Function) woobie_expmem,
-  (Function) woobie_report,
-};
-
-char *woobie_start(Function *global_funcs)
-{
-  /* Assign the core function table. After this point you use all normal
-   * functions defined in src/mod/modules.h
-   */
-  global = global_funcs;
-
-  Context;
-  /* Register the module. */
-  module_register(MODULE_NAME, woobie_table, 2, 0);
-  /*                                            ^--- minor module version
-   *                                         ^------ major module version
-   *                           ^-------------------- module function table
-   *              ^--------------------------------- module name
-   */
-
-  if (!module_depend(MODULE_NAME, "eggdrop", 107, 0)) {
-    module_undepend(MODULE_NAME);
-    return "This module requires Eggdrop 1.7.0 or later.";
-  }
-
-  /* Add command table to bind list H_dcc, responsible for dcc commands.
-   * Currently we only add one command, `woobie'.
-   */
-  add_builtins(H_dcc, mydcc);
-  return NULL;
-}
Index: eggdrop1.7/src/patch.h
diff -u eggdrop1.7/src/patch.h:1.21 eggdrop1.7/src/patch.h:1.22
--- eggdrop1.7/src/patch.h:1.21	Thu Nov 25 23:35:27 2004
+++ eggdrop1.7/src/patch.h	Thu Dec  2 16:15:52 2004
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.21 2004/11/26 05:35:27 wcc Exp $
+ * $Id: patch.h,v 1.22 2004/12/02 22:15:52 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1101447277");            /* current unixtime */
+patch("1102025628");            /* current unixtime */
 /*
  *
  *
  */
-patch("memcleanups");
+patch("movewoobie");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list