[cvslog] Module eggdrop1.6: Change committed

cvslog cvs at tsss.iavalley.cc.ia.us
Wed Apr 11 21:41:01 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2001-04-12 02:39:58 UTC
Commited by: guppy

Modified files:
     FEATURES INSTALL NEWS README doc/AUTHORS doc/UPDATES1.6
     doc/html/readme.html doc/man1/eggdrop.1 misc/modconfig
     scripts/ques5.tcl src/bg.c src/bg.h src/botcmd.c src/botmsg.c
     src/botnet.c src/chan.h src/chanprog.c src/cmds.c src/cmdt.h
     src/dcc.c src/dccutil.c src/dns.c src/dns.h src/eggdrop.h
     src/flags.c src/flags.h src/lang.h src/language.c src/main.c
     src/main.h src/mem.c src/misc.c src/misc_file.c src/misc_file.h
     src/modules.h src/patch.h src/proto.h src/stat.h src/tandem.h
     src/tcl.c src/tcldcc.c src/tclegg.h src/tclhash.c src/tclhash.h
     src/tclmisc.c src/tcluser.c src/userent.c src/userrec.c
     src/users.c src/users.h src/compat/compat.h
     src/compat/inet_aton.c src/compat/inet_aton.h src/compat/memcpy.c
     src/compat/memcpy.h src/compat/memset.c src/compat/memset.h
     src/compat/snprintf.c src/compat/snprintf.h
     src/compat/strcasecmp.c src/compat/strcasecmp.h
     src/compat/strftime.c src/mod/eggautoconf src/mod/module.h
     src/mod/modvals.h src/mod/assoc.mod/assoc.c
     src/mod/assoc.mod/assoc.h src/mod/blowfish.mod/bf_tab.h
     src/mod/blowfish.mod/blowfish.c src/mod/blowfish.mod/blowfish.h
     src/mod/channels.mod/channels.c src/mod/channels.mod/channels.h
     src/mod/channels.mod/cmdschan.c src/mod/channels.mod/tclchan.c
     src/mod/channels.mod/udefchan.c src/mod/channels.mod/userchan.c
     src/mod/compress.mod/compress.c src/mod/compress.mod/compress.h
     src/mod/compress.mod/tclcompress.c src/mod/console.mod/console.c
     src/mod/console.mod/console.h src/mod/ctcp.mod/ctcp.c
     src/mod/ctcp.mod/ctcp.h src/mod/dns.mod/coredns.c
     src/mod/dns.mod/dns.c src/mod/dns.mod/dns.h
     src/mod/filesys.mod/dbcompat.c src/mod/filesys.mod/dbcompat.h
     src/mod/filesys.mod/filedb3.c src/mod/filesys.mod/filedb3.h
     src/mod/filesys.mod/filelist.c src/mod/filesys.mod/filelist.h
     src/mod/filesys.mod/files.c src/mod/filesys.mod/files.h
     src/mod/filesys.mod/filesys.c src/mod/filesys.mod/filesys.h
     src/mod/filesys.mod/tclfiles.c src/mod/irc.mod/chan.c
     src/mod/irc.mod/cmdsirc.c src/mod/irc.mod/irc.c
     src/mod/irc.mod/irc.h src/mod/irc.mod/mode.c
     src/mod/irc.mod/msgcmds.c src/mod/irc.mod/tclirc.c
     src/mod/notes.mod/cmdsnote.c src/mod/notes.mod/notes.c
     src/mod/notes.mod/notes.h src/mod/seen.mod/seen.c
     src/mod/server.mod/cmdsserv.c src/mod/server.mod/server.c
     src/mod/server.mod/server.h src/mod/server.mod/servmsg.c
     src/mod/server.mod/tclserv.c src/mod/share.mod/share.c
     src/mod/share.mod/share.h src/mod/share.mod/uf_features.c
     src/mod/transfer.mod/transfer.c src/mod/transfer.mod/transfer.h
     src/mod/wire.mod/wire.c src/mod/wire.mod/wire.h
     src/mod/woobie.mod/woobie.c text/banner text/motd

Log message:

lets update the copyright info for 2001 k? :P~

---------------------- diff included ----------------------
Index: eggdrop1.6/FEATURES
diff -u eggdrop1.6/FEATURES:1.6 eggdrop1.6/FEATURES:1.7
--- eggdrop1.6/FEATURES:1.6	Sun Nov  5 22:06:40 2000
+++ eggdrop1.6/FEATURES	Wed Apr 11 21:39:42 2001
@@ -182,5 +182,5 @@
 make install DEST=<directory>
 
   ------------------------------------------------------------------------
-(c) 1997 Robey Pointer
-(c) 2000 Eggheads Development Team
+Copyright (C) 1997 Robey Pointer
+Copyright (C) 2000, 2001 Eggheads Development Team
Index: eggdrop1.6/INSTALL
diff -u eggdrop1.6/INSTALL:1.5 eggdrop1.6/INSTALL:1.6
--- eggdrop1.6/INSTALL:1.5	Sun May 28 13:59:24 2000
+++ eggdrop1.6/INSTALL	Wed Apr 11 21:39:42 2001
@@ -113,5 +113,5 @@
 Have fun with Eggdrop!
 
   ------------------------------------------------------------------------
-(c) 1997 Robey Pointer
-(c) 1999,2000 Eggheads Development Team
+Copyright (C) 1997 Robey Pointer
+Copyright (C) 1999, 2000, 2001 Eggheads Development Team
Index: eggdrop1.6/NEWS
diff -u eggdrop1.6/NEWS:1.13 eggdrop1.6/NEWS:1.14
--- eggdrop1.6/NEWS:1.13	Wed Nov  8 08:59:36 2000
+++ eggdrop1.6/NEWS	Wed Apr 11 21:39:42 2001
@@ -147,7 +147,5 @@
      a backup first.
 
   ------------------------------------------------------------------------
-(c) 1997 Robey Pointer
-(c) 1999,2000 Eggheads Development Team
-
-
+Copyright (C) 1997 Robey Pointer
+Copyright (C) 1999, 2000, 2001 Eggheads Development Team
Index: eggdrop1.6/README
diff -u eggdrop1.6/README:1.13 eggdrop1.6/README:1.14
--- eggdrop1.6/README:1.13	Fri Jan 26 15:06:13 2001
+++ eggdrop1.6/README	Wed Apr 11 21:39:42 2001
@@ -491,7 +491,7 @@
 
      (7) BORING LEGAL STUFF
 
-          The eggdrop bot is copyright © by Robey Pointer. As of
+          The eggdrop bot is copyright (C) by Robey Pointer. As of
           January 1997, eggdrop is distributed according to the GNU
           General Public License. There should be a copy of this
           license in the file COPYING. If not, write to the Free
@@ -500,7 +500,7 @@
 
           As of eggdrop1.3.28 all changes made by the Eggheads
           development team to the eggdrop source code and any related
-          files are copyright © by Eggheads. The source code will
+          files are copyright (C) by Eggheads. The source code will
           still be distributed according to the GNU General Public
           License as Robey Pointer did in the past.
 
@@ -544,8 +544,7 @@
 
                   ### DO NOT SEND ROBEY EMAIL ABOUT EGGDROP ###
 
-          Robey is no longer developing the eggdrop code (although he
-          does put a word in every now and then) so don't bother
+          Robey is no longer developing the eggdrop code so don't bother
           emailing him. If you have a serious problem, email the
           eggdrop mailing list and it will get to the coders.
 
@@ -608,5 +607,5 @@
           know.
 
   ------------------------------------------------------------------------
-(c) 1997 Robey Pointer
-(c) 2000 Eggheads Development Team
+Copyright (C) 1997 Robey Pointer
+Copyright (C) 1999, 2000, 2001 Eggheads Development Team
Index: eggdrop1.6/doc/AUTHORS
diff -u eggdrop1.6/doc/AUTHORS:1.3 eggdrop1.6/doc/AUTHORS:1.4
--- eggdrop1.6/doc/AUTHORS:1.3	Mon Nov  6 08:26:04 2000
+++ eggdrop1.6/doc/AUTHORS	Wed Apr 11 21:39:42 2001
@@ -57,4 +57,4 @@
    Development Team at eggdev at eggheads.org.
      _________________________________________________________________
 
-   Copyright (C) 2000 Eggheads Development Team
+   Copyright (C) 2000, 2001 Eggheads Development Team
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.84 eggdrop1.6/doc/UPDATES1.6:1.85
--- eggdrop1.6/doc/UPDATES1.6:1.84	Sat Apr  7 14:36:52 2001
+++ eggdrop1.6/doc/UPDATES1.6	Wed Apr 11 21:39:42 2001
@@ -4,6 +4,8 @@
 
 1.6.4
 Found by  Fixed by  What...
+          Wingman/  updated all the copyright info for 2001
+          guppy
           Krome     modes-per-line works now when its set to 3
 various   Darude    fixed channel add #chan from crashing the bot
           Eugene    various small typo fixes
Index: eggdrop1.6/doc/html/readme.html
diff -u eggdrop1.6/doc/html/readme.html:1.8 eggdrop1.6/doc/html/readme.html:1.9
--- eggdrop1.6/doc/html/readme.html:1.8	Fri Jan 26 15:06:14 2001
+++ eggdrop1.6/doc/html/readme.html	Wed Apr 11 21:39:42 2001
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<!-- $Id: readme.html,v 1.8 2001/01/26 21:06:14 guppy Exp $ -->
+<!-- $Id: readme.html,v 1.9 2001/04/12 02:39:42 guppy Exp $ -->
 
 <html>
   <head>
@@ -315,16 +315,17 @@
     <p><a name="sect7"></a>7. <strong>Boring legal stuff</strong></p>
 
     <blockquote>
-      <p>The Eggdrop bot is copyright © by Robey Pointer. As of January 1997,
+      <p>The Eggdrop bot is copyright (C) by Robey Pointer. As of January 1997,
       Eggdrop is distributed according to the GNU General Public License.
       There should be a copy of this license in the file COPYING. If not,
       write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
       MA 02139, USA.</p>
 
-      <p>As of eggdrop1.3.28 all changes made by the Eggheads development
-      team to the Eggdrop source code and any related files are copyright ©
-      by Eggheads. The source code will still be distributed according to the
-      GNU General Public License as Robey Pointer did in the past.</p>
+      <p>As of eggdrop1.3.28 all changes made by the Eggheads Development
+      Team to the Eggdrop source code and any related files are copyright (C)
+      by Eggheads Development Team. The source code will still be distributed
+      according to the GNU General Public License as Robey Pointer did in the
+      past.</p>
 
       <p>Releases previous to 1.0m were made using a different licensing
       scheme. You may, at your option, use the GNU General Public License on
Index: eggdrop1.6/doc/man1/eggdrop.1
diff -u eggdrop1.6/doc/man1/eggdrop.1:1.5 eggdrop1.6/doc/man1/eggdrop.1:1.6
--- eggdrop1.6/doc/man1/eggdrop.1:1.5	Thu Oct 26 05:20:32 2000
+++ eggdrop1.6/doc/man1/eggdrop.1	Wed Apr 11 21:39:42 2001
@@ -146,9 +146,9 @@
 .SH "REPORTING BUGS"
 Report bugs to <eggheads at eggheads.org>.
 .SH COPYRIGHT
-Copyright C 1994 Robey Pointer
+Copyright (C) 1994 Robey Pointer
 .br
-Copyright C 1999, 2000 Eggheads
+Copyright (C) 1999, 2000, 2001 Eggheads Development Team
 .PP
 This is free software; see the source for copying conditions. There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Index: eggdrop1.6/misc/modconfig
diff -u eggdrop1.6/misc/modconfig:1.5 eggdrop1.6/misc/modconfig:1.6
--- eggdrop1.6/misc/modconfig:1.5	Thu Aug 17 20:06:44 2000
+++ eggdrop1.6/misc/modconfig	Wed Apr 11 21:39:43 2001
@@ -2,7 +2,7 @@
 #
 # modconfig
 #
-# Copyright (C) 2000  Eggheads
+# Copyright (C) 2000, 2001 Eggheads Development Team
 # Written by Fabian Knittel
 #
 # This program is free software; you can redistribute it and/or
@@ -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.5 2000/08/18 01:06:44 fabian Exp $
+# $Id: modconfig,v 1.6 2001/04/12 02:39:43 guppy Exp $
 
 
 mc_pn=`echo $0 | sed -e 's/^.*\///'`
Index: eggdrop1.6/scripts/ques5.tcl
diff -u eggdrop1.6/scripts/ques5.tcl:1.4 eggdrop1.6/scripts/ques5.tcl:1.5
--- eggdrop1.6/scripts/ques5.tcl:1.4	Fri Apr  6 17:31:03 2001
+++ eggdrop1.6/scripts/ques5.tcl	Wed Apr 11 21:39:43 2001
@@ -1,5 +1,9 @@
 #
-# quesedilla, (c) 1995 Robey Pointer (c) 1999, 2000 Eggheads
+# ques5.tcl
+#
+# Copyright (C) 1995 Robey Pointer
+# Copyright (C) 1999, 2000, 2001 Eggheads Development Team
+#
 # v1 -- 20aug95
 # v2 -- 2oct95   [improved it]
 # v3 -- 17mar96  [fixed it up for 1.0 multi-channel]
@@ -7,7 +11,7 @@
 # v4.00001 nov97 [blurgh]
 # v5-BETA1 -- 26sep99 by rtc
 #
-# $Id: ques5.tcl,v 1.4 2001/04/06 22:31:03 guppy Exp $
+# $Id: ques5.tcl,v 1.5 2001/04/12 02:39:43 guppy Exp $
 #
 # o clean webfile var removal
 # o using timezone variable from config file
Index: eggdrop1.6/src/bg.c
diff -u eggdrop1.6/src/bg.c:1.2 eggdrop1.6/src/bg.c:1.3
--- eggdrop1.6/src/bg.c:1.2	Fri Oct 27 14:36:34 2000
+++ eggdrop1.6/src/bg.c	Wed Apr 11 21:39:43 2001
@@ -1,24 +1,24 @@
-/* 
+/*
  * bg.c -- handles:
  *   moving the process to the background, i.e. forking, while keeping threads
  *   happy.
- * 
- * $Id: bg.c,v 1.2 2000/10/27 19:36:34 fabian Exp $
+ *
+ * $Id: bg.c,v 1.3 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001  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.
Index: eggdrop1.6/src/bg.h
diff -u eggdrop1.6/src/bg.h:1.1 eggdrop1.6/src/bg.h:1.2
--- eggdrop1.6/src/bg.h:1.1	Wed Sep 27 14:48:54 2000
+++ eggdrop1.6/src/bg.h	Wed Apr 11 21:39:43 2001
@@ -1,21 +1,21 @@
-/* 
+/*
  * bg.h
- * 
- * $Id: bg.h,v 1.1 2000/09/27 19:48:54 fabian Exp $
+ *
+ * $Id: bg.h,v 1.2 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 2000  Eggheads
- * 
+/*
+ * Copyright (C) 2000, 2001 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.
Index: eggdrop1.6/src/botcmd.c
diff -u eggdrop1.6/src/botcmd.c:1.19 eggdrop1.6/src/botcmd.c:1.20
--- eggdrop1.6/src/botcmd.c:1.19	Sun Mar 11 01:02:57 2001
+++ eggdrop1.6/src/botcmd.c	Wed Apr 11 21:39:43 2001
@@ -1,24 +1,24 @@
-/* 
+/*
  * botcmd.c -- handles:
  *   commands that comes across the botnet
  *   userfile transfer and update commands from sharebots
- * 
- * $Id: botcmd.c,v 1.19 2001/03/11 07:02:57 guppy Exp $
+ *
+ * $Id: botcmd.c,v 1.20 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -136,7 +136,7 @@
   } else {
     chanout_but(-1, chan, "%s\n", TBUF);
     /* Send to new version bots */
-    if (i >= 0) 
+    if (i >= 0)
       botnet_send_chan(idx, from, NULL, chan, msg);
     if (strchr(from, '@') != NULL)
       check_tcl_chat(from, chan, msg);
@@ -483,7 +483,7 @@
       if (!channel_secret(chan)) {
         if ((strlen(s) + strlen(chan->dname) + strlen(network)
                    + strlen(botnetnick) + strlen(ver) + 1) >= 200) {
-          strcat(s,"++  "); 
+          strcat(s,"++  ");
           break; /* Yegads..! */
         }
 	strcat(s, chan->dname);
@@ -929,12 +929,12 @@
   struct userrec *u = get_user_by_handle(userlist, dcc[idx].nick);
 
   /* We *don't* want botnet passwords migrating */
-  noshare = 1;		
+  noshare = 1;
   set_user(&USERENTRY_PASS, u, par);
   noshare = 0;
 }
 
-/* Used to send a direct msg from Tcl on one bot to Tcl on another 
+/* Used to send a direct msg from Tcl on one bot to Tcl on another
  * zapf <frombot> <tobot> <code [param]>
  */
 static void bot_zapf(int idx, char *par)
@@ -962,7 +962,7 @@
     botnet_send_zapf(i, from, to, par);
 }
 
-/* Used to send a global msg from Tcl on one bot to every other bot 
+/* Used to send a global msg from Tcl on one bot to every other bot
  * zapf-broad <frombot> <code [param]>
  */
 static void bot_zapfbroad(int idx, char *par)
@@ -1038,7 +1038,7 @@
   }
 }
 
-/* These are still here, so that they will pass the relevant 
+/* These are still here, so that they will pass the relevant
  * requests through even if no filesys is loaded.
  *
  * filereject <bot:filepath> <sock:nick at bot> <reason...>
@@ -1449,9 +1449,9 @@
  *
  * function call should be:
  * int bot_whatever(idx,"parameters");
- * 
+ *
  * SORT these, dcc_bot uses a shortcut which requires them sorted
- * 
+ *
  * yup, those are tokens there to allow a more efficient botnet as
  * time goes on (death to slowly upgrading llama's)
  */
Index: eggdrop1.6/src/botmsg.c
diff -u eggdrop1.6/src/botmsg.c:1.21 eggdrop1.6/src/botmsg.c:1.22
--- eggdrop1.6/src/botmsg.c:1.21	Fri Apr  6 17:28:42 2001
+++ eggdrop1.6/src/botmsg.c	Wed Apr 11 21:39:43 2001
@@ -1,26 +1,26 @@
-/* 
+/*
  * botmsg.c -- handles:
  *   formatting of messages to be sent on the botnet
  *   sending differnet messages to different versioned bots
- * 
+ *
  * by Darrin Smith (beldin at light.iinet.net.au)
- * 
- * $Id: botmsg.c,v 1.21 2001/04/06 22:28:42 guppy Exp $
+ *
+ * $Id: botmsg.c,v 1.22 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -51,16 +51,16 @@
 
   x = EGG_VARARGS_START(int, arg1, va);
   format = va_arg(va, char *);
-  egg_vsnprintf(s, 511, format, va);      
+  egg_vsnprintf(s, 511, format, va);
   va_end(va);
   len = strlen(s);
   if (len > 511)
     len = 511;
-  s[len + 1] = 0;  
+  s[len + 1] = 0;
 
 #if (TCL_MAJOR_VERSION >= 8 && TCL_MINOR_VERSION >= 1) || (TCL_MAJOR_VERSION >= 9)
   str_nutf8tounicode(s, sizeof s);
-#endif    
+#endif
 
   for (i = 0; i < dcc_total; i++)
     if ((dcc[i].type == &DCC_BOT) && (i != x) &&
@@ -304,17 +304,17 @@
   to = va_arg(va, char *);
   tobot = va_arg(va, char *);
   format = va_arg(va, char *);
-  egg_vsnprintf(tbuf, 450, format, va);    
+  egg_vsnprintf(tbuf, 450, format, va);
   va_end(va);
-  
+
   len = strlen(tbuf);
   if (len > 450)
     len = 450;
-  tbuf[len + 1] = 0;    
+  tbuf[len + 1] = 0;
 
 #if (TCL_MAJOR_VERSION >= 8 && TCL_MINOR_VERSION >= 1) || (TCL_MAJOR_VERSION >= 9)
   str_nutf8tounicode(tbuf, sizeof tbuf);
-#endif    
+#endif
 
   if (tobot) {
 #ifndef NO_OLD_BOTNET
Index: eggdrop1.6/src/botnet.c
diff -u eggdrop1.6/src/botnet.c:1.32 eggdrop1.6/src/botnet.c:1.33
--- eggdrop1.6/src/botnet.c:1.32	Tue Jan 16 11:13:20 2001
+++ eggdrop1.6/src/botnet.c	Wed Apr 11 21:39:43 2001
@@ -1,4 +1,4 @@
-/* 
+/*
  * botnet.c -- handles:
  *   keeping track of which bot's connected where in the chain
  *   dumping a list of bots or a bot tree to a user
@@ -6,23 +6,23 @@
  *   rejecting a bot
  *   linking, unlinking, and relaying to another bot
  *   pinging the bots periodically and checking leaf status
- * 
- * $Id: botnet.c,v 1.32 2001/01/16 17:13:20 guppy Exp $
+ *
+ * $Id: botnet.c,v 1.33 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -385,7 +385,7 @@
       bot = bot->next;
   }
 #ifndef NO_OLD_BOTNET
-  /* Every bot unvia's bots behind anyway, so why send msg's for 
+  /* Every bot unvia's bots behind anyway, so why send msg's for
    * EVERY one? - will this break things?!
    */
   tandout_but(idx, "unlinked %s\n", who->bot);
Index: eggdrop1.6/src/chan.h
diff -u eggdrop1.6/src/chan.h:1.20 eggdrop1.6/src/chan.h:1.21
--- eggdrop1.6/src/chan.h:1.20	Tue Dec  5 20:32:17 2000
+++ eggdrop1.6/src/chan.h	Wed Apr 11 21:39:43 2001
@@ -1,24 +1,24 @@
-/* 
+/*
  * chan.h
  *   stuff common to chan.c and mode.c
  *   users.h needs to be loaded too
- * 
- * $Id: chan.h,v 1.20 2000/12/06 02:32:17 guppy Exp $
+ *
+ * $Id: chan.h,v 1.21 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/chanprog.c
diff -u eggdrop1.6/src/chanprog.c:1.22 eggdrop1.6/src/chanprog.c:1.23
--- eggdrop1.6/src/chanprog.c:1.22	Sat Feb 24 14:08:51 2001
+++ eggdrop1.6/src/chanprog.c	Wed Apr 11 21:39:43 2001
@@ -1,4 +1,4 @@
-/* 
+/*
  * chanprog.c -- handles:
  *   rmspace()
  *   maintaining the server list
@@ -6,23 +6,23 @@
  *   timers, utimers
  *   telling the current programmed settings
  *   initializing a lot of stuff and loading the tcl scripts
- * 
- * $Id: chanprog.c,v 1.22 2001/02/24 20:08:51 guppy Exp $
+ *
+ * $Id: chanprog.c,v 1.23 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -480,7 +480,7 @@
     FILE *f;
     char s[161], rands[8];
 
-    /* Possible file race condition solved by using a random string 
+    /* Possible file race condition solved by using a random string
      * and the process id in the filename.
      * FIXME: This race is only partitially fixed. We could still be
      *        overwriting an existing file / following a malicious
Index: eggdrop1.6/src/cmds.c
diff -u eggdrop1.6/src/cmds.c:1.48 eggdrop1.6/src/cmds.c:1.49
--- eggdrop1.6/src/cmds.c:1.48	Sun Jan 21 01:25:48 2001
+++ eggdrop1.6/src/cmds.c	Wed Apr 11 21:39:43 2001
@@ -1,24 +1,24 @@
-/* 
+/*
  * cmds.c -- handles:
  *   commands from a user via dcc
  *   (split in 2, this portion contains no-irc commands)
- * 
- * $Id: cmds.c,v 1.48 2001/01/21 07:25:48 guppy Exp $
+ *
+ * $Id: cmds.c,v 1.49 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -260,7 +260,7 @@
   if (module_find("server", 0, 0)) {
     while (chan != NULL) {
       if (!channel_secret(chan)) {
-	if ((strlen(s) + strlen(chan->dname) + strlen(network) 
+	if ((strlen(s) + strlen(chan->dname) + strlen(network)
                    + strlen(botnetnick) + strlen(ver) + 1) >= 490) {
           strcat(s,"++  ");
           break; /* yeesh! */
@@ -274,7 +274,7 @@
     if (s[0]) {
       s[strlen(s) - 2] = 0;
       dprintf(idx, "*** [%s] %s <%s> (%s) [UP %s]\n", botnetnick,
-	      ver, network, s, s2); 
+	      ver, network, s, s2);
     } else
       dprintf(idx, "*** [%s] %s <%s> (%s) [UP %s]\n", botnetnick,
 	      ver, network, BOT_NOCHANNELS, s2);
@@ -652,7 +652,7 @@
   get_user_flagrec(u, &fr, dcc[idx].u.chat->con_chan);
   strcpy(s1, par);
   nick = newsplit(&par);
-  /* Don't remove '+' as someone couldn't have '+' in CHANMETA cause 
+  /* Don't remove '+' as someone couldn't have '+' in CHANMETA cause
    * he doesn't use IRCnet ++rtc.
    */
   if (nick[0] && !strchr(CHANMETA "+-*", nick[0]) && glob_master(fr)) {
@@ -672,7 +672,7 @@
   if (!nick[0])
     nick = newsplit(&par);
   /* Consider modeless channels, starting with '+' */
-  if ((nick [0] == '+' && findchan_by_dname(nick)) || 
+  if ((nick [0] == '+' && findchan_by_dname(nick)) ||
       (nick [0] != '+' && strchr(CHANMETA "*", nick[0]))) {
     if (strcmp(nick, "*") && !findchan_by_dname(nick)) {
       dprintf(idx, "Invalid console channel: %s\n", nick);
@@ -1150,7 +1150,7 @@
     botunlink(idx, bot, par);
     return;
   }
-  /* If we're directly connected to that bot, just do it 
+  /* If we're directly connected to that bot, just do it
    * (is nike gunna sue?)
    */
   if (!egg_strcasecmp(dcc[i].nick, bot))
@@ -1321,7 +1321,7 @@
 	stat |= STAT_CHAT;
       dcc[i].status = stat;
       /* Check if they no longer have access to wherever they are.
-       * 
+       *
        * NOTE: DON'T kick someone off the party line just cuz they lost +p
        *       (pinvite script removes +p after 5 mins automatically)
        */
@@ -1687,7 +1687,7 @@
     }
   }
   par = arg;
-  
+
   user.match = FR_GLOBAL;
   get_user_flagrec(u, &user, chan ? chan->dname : 0);
   if (!glob_botmast(user)) {
@@ -2029,7 +2029,7 @@
   }
   if (nick[0])
     putlog(LOG_CMDS, "*", "#%s# strip %s %s", dcc[idx].nick, nick, changes);
-  else 
+  else
     putlog(LOG_CMDS, "*", "#%s# strip %s", dcc[idx].nick, changes);
   if (dest == idx) {
     dprintf(idx, "Your strip settings are: %s (%s)\n",
@@ -2439,7 +2439,7 @@
     if (idx2 != dcc_total) {
       dprintf(idx, "You can't remove a directly linked bot.\n");
       return;
-    }     
+    }
   }
   if ((u->flags & USER_BOTMAST) && !(u->flags & USER_MASTER) &&
       !(u2->flags & USER_BOT)) {
@@ -2548,7 +2548,7 @@
       dprintf(idx, "You can't remove hosts while having the +d or +k flag.\n");
       return;
     }
-  
+
   if (egg_strcasecmp(handle, dcc[idx].nick)) {
     if (!(u2->flags & USER_BOT) && !(u->flags & USER_MASTER) &&
 	!chan_master(fr)) {
@@ -2558,7 +2558,7 @@
 	       !(u->flags & USER_OWNER)) {
       dprintf(idx, "You can't remove hostmask from a shared bot.\n");
       return;
-    } else if ((u2->flags & (USER_OWNER|USER_MASTER)) && 
+    } else if ((u2->flags & (USER_OWNER|USER_MASTER)) &&
 	       !(u->flags & USER_OWNER) && (u2 != u)) {
       dprintf(idx, "Can't remove hostmasks from the bot owner/master.\n");
       return;
@@ -2718,7 +2718,7 @@
   {"chat",		"",	(Function) cmd_chat,		NULL},
   {"chattr",		"m|m",	(Function) cmd_chattr,		NULL},
   {"chhandle",		"t",	(Function) cmd_chhandle,	NULL},
-  {"chnick",		"t",	(Function) cmd_chhandle,	NULL}, 
+  {"chnick",		"t",	(Function) cmd_chhandle,	NULL},
   {"chpass",		"t",	(Function) cmd_chpass,		NULL},
   {"comment",		"m",	(Function) cmd_comment,		NULL},
   {"console",		"to|o",	(Function) cmd_console,		NULL},
Index: eggdrop1.6/src/cmdt.h
diff -u eggdrop1.6/src/cmdt.h:1.3 eggdrop1.6/src/cmdt.h:1.4
--- eggdrop1.6/src/cmdt.h:1.3	Mon Jan 17 16:36:06 2000
+++ eggdrop1.6/src/cmdt.h	Wed Apr 11 21:39:43 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * cmdt.h
  *   stuff for builtin commands
- * 
- * $Id: cmdt.h,v 1.3 2000/01/17 22:36:06 fabian Exp $
+ *
+ * $Id: cmdt.h,v 1.4 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/compat/compat.h
diff -u eggdrop1.6/src/compat/compat.h:1.2 eggdrop1.6/src/compat/compat.h:1.3
--- eggdrop1.6/src/compat/compat.h:1.2	Tue Sep 12 10:26:51 2000
+++ eggdrop1.6/src/compat/compat.h	Wed Apr 11 21:39:44 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * compat.h
  *   wrap-around header for all compability functions.
- * 
- * $Id: compat.h,v 1.2 2000/09/12 15:26:51 fabian Exp $
+ *
+ * $Id: compat.h,v 1.3 2001/04/12 02:39:44 guppy Exp $
  */
-/* 
- * Copyright (C) 2000  Eggheads
- * 
+/*
+ * Copyright (C) 2000, 2001 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.
Index: eggdrop1.6/src/compat/inet_aton.c
diff -u eggdrop1.6/src/compat/inet_aton.c:1.4 eggdrop1.6/src/compat/inet_aton.c:1.5
--- eggdrop1.6/src/compat/inet_aton.c:1.4	Sat Sep  9 06:39:10 2000
+++ eggdrop1.6/src/compat/inet_aton.c	Wed Apr 11 21:39:44 2001
@@ -1,9 +1,10 @@
 /*
  * inet_aton.c -- provides inet_aton() if necessary.
  *
- * $Id: inet_aton.c,v 1.4 2000/09/09 11:39:10 fabian Exp $
+ * $Id: inet_aton.c,v 1.5 2001/04/12 02:39:44 guppy Exp $
  */
-/* Portions Copyright (C) 2000  Eggheads
+/*
+ * Poritions Copyright (C) 2000, 2001 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
Index: eggdrop1.6/src/compat/inet_aton.h
diff -u eggdrop1.6/src/compat/inet_aton.h:1.2 eggdrop1.6/src/compat/inet_aton.h:1.3
--- eggdrop1.6/src/compat/inet_aton.h:1.2	Tue Sep 12 10:26:51 2000
+++ eggdrop1.6/src/compat/inet_aton.h	Wed Apr 11 21:39:44 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * inet_aton.h
  *   prototypes for inet_aton.c
- * 
- * $Id: inet_aton.h,v 1.2 2000/09/12 15:26:51 fabian Exp $
+ *
+ * $Id: inet_aton.h,v 1.3 2001/04/12 02:39:44 guppy Exp $
  */
-/* 
- * Copyright (C) 2000  Eggheads
- * 
+/*
+ * Copyright (C) 2000, 2001 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.
Index: eggdrop1.6/src/compat/memcpy.c
diff -u eggdrop1.6/src/compat/memcpy.c:1.1 eggdrop1.6/src/compat/memcpy.c:1.2
--- eggdrop1.6/src/compat/memcpy.c:1.1	Thu Mar 23 17:20:07 2000
+++ eggdrop1.6/src/compat/memcpy.c	Wed Apr 11 21:39:44 2001
@@ -1,10 +1,11 @@
 /*
  * memcpy.c -- provides memcpy() if necessary.
  *
- * $Id: memcpy.c,v 1.1 2000/03/23 23:20:07 fabian Exp $
+ * $Id: memcpy.c,v 1.2 2001/04/12 02:39:44 guppy Exp $
  */
-/* Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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
Index: eggdrop1.6/src/compat/memcpy.h
diff -u eggdrop1.6/src/compat/memcpy.h:1.2 eggdrop1.6/src/compat/memcpy.h:1.3
--- eggdrop1.6/src/compat/memcpy.h:1.2	Tue Sep 12 10:26:51 2000
+++ eggdrop1.6/src/compat/memcpy.h	Wed Apr 11 21:39:44 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * memcpy.h
  *   prototypes for memcpy.c
- * 
- * $Id: memcpy.h,v 1.2 2000/09/12 15:26:51 fabian Exp $
+ *
+ * $Id: memcpy.h,v 1.3 2001/04/12 02:39:44 guppy Exp $
  */
-/* 
- * Copyright (C) 2000  Eggheads
- * 
+/*
+ * Copyright (C) 2000, 2001 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.
Index: eggdrop1.6/src/compat/memset.c
diff -u eggdrop1.6/src/compat/memset.c:1.2 eggdrop1.6/src/compat/memset.c:1.3
--- eggdrop1.6/src/compat/memset.c:1.2	Sat Sep  9 06:39:10 2000
+++ eggdrop1.6/src/compat/memset.c	Wed Apr 11 21:39:44 2001
@@ -1,10 +1,11 @@
 /*
  * memset.c -- provides memset() if necessary.
  *
- * $Id: memset.c,v 1.2 2000/09/09 11:39:10 fabian Exp $
+ * $Id: memset.c,v 1.3 2001/04/12 02:39:44 guppy Exp $
  */
-/* Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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
Index: eggdrop1.6/src/compat/memset.h
diff -u eggdrop1.6/src/compat/memset.h:1.2 eggdrop1.6/src/compat/memset.h:1.3
--- eggdrop1.6/src/compat/memset.h:1.2	Tue Sep 12 10:26:51 2000
+++ eggdrop1.6/src/compat/memset.h	Wed Apr 11 21:39:44 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * memset.h
  *   prototypes for memset.c
- * 
- * $Id: memset.h,v 1.2 2000/09/12 15:26:51 fabian Exp $
+ *
+ * $Id: memset.h,v 1.3 2001/04/12 02:39:44 guppy Exp $
  */
-/* 
- * Copyright (C) 2000  Eggheads
- * 
+/*
+ * Copyright (C) 2000, 2001 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.
Index: eggdrop1.6/src/compat/snprintf.c
diff -u eggdrop1.6/src/compat/snprintf.c:1.3 eggdrop1.6/src/compat/snprintf.c:1.4
--- eggdrop1.6/src/compat/snprintf.c:1.3	Wed Apr  5 14:40:31 2000
+++ eggdrop1.6/src/compat/snprintf.c	Wed Apr 11 21:39:44 2001
@@ -1,9 +1,10 @@
 /*
  * snprintf.c - a portable implementation of snprintf and vsnprintf
  *
- * $Id: snprintf.c,v 1.3 2000/04/05 19:40:31 fabian Exp $
+ * $Id: snprintf.c,v 1.4 2001/04/12 02:39:44 guppy Exp $
  */
-/* Portions Copyright (C) 2000  Eggheads
+/*
+ * Portions Copyright (C) 2000, 2001 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
@@ -61,9 +62,9 @@
  *    original.  Also, there is now a builtin-test, just compile with:
  *           gcc -DTEST_SNPRINTF -o snprintf snprintf.c -lm
  *    and run snprintf for results.
- * 
+ *
  *  Thomas Roessler <roessler at guug.de> 01/27/98 for mutt 0.89i
- *    The PGP code was using unsigned hexadecimal formats. 
+ *    The PGP code was using unsigned hexadecimal formats.
  *    Unfortunately, unsigned formats simply didn't work.
  *
  *  Michael Elkins <me at cs.hmc.edu> 03/05/98 for mutt 0.90.8
@@ -567,7 +568,7 @@
   long intpart;
   long fracpart;
 
-  /* 
+  /*
    * AIX manpage says the default is 0, but Solaris says the default
    * is 6, and sprintf on AIX defaults to 6
    */
@@ -590,8 +591,8 @@
 
   intpart = ufvalue;
 
-  /* 
-   * Sorry, we only support 9 digits past the decimal because of our 
+  /*
+   * Sorry, we only support 9 digits past the decimal because of our
    * conversion method
    */
   if (max > 9)
Index: eggdrop1.6/src/compat/snprintf.h
diff -u eggdrop1.6/src/compat/snprintf.h:1.6 eggdrop1.6/src/compat/snprintf.h:1.7
--- eggdrop1.6/src/compat/snprintf.h:1.6	Tue Sep 12 10:26:51 2000
+++ eggdrop1.6/src/compat/snprintf.h	Wed Apr 11 21:39:44 2001
@@ -2,21 +2,21 @@
  * snprintf.h
  *   header file for snprintf.c
  *
- * $Id: snprintf.h,v 1.6 2000/09/12 15:26:51 fabian Exp $
+ * $Id: snprintf.h,v 1.7 2001/04/12 02:39:44 guppy Exp $
  */
-/* 
- * Copyright (C) 2000  Eggheads
- * 
+/*
+ * Copyright (C) 2000, 2001 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.
Index: eggdrop1.6/src/compat/strcasecmp.c
diff -u eggdrop1.6/src/compat/strcasecmp.c:1.1 eggdrop1.6/src/compat/strcasecmp.c:1.2
--- eggdrop1.6/src/compat/strcasecmp.c:1.1	Thu Mar 23 17:20:07 2000
+++ eggdrop1.6/src/compat/strcasecmp.c	Wed Apr 11 21:39:44 2001
@@ -1,10 +1,11 @@
 /*
  * strcasecmp.c -- provides strcasecmp() and strncasecmp if necessary.
  *
- * $Id: strcasecmp.c,v 1.1 2000/03/23 23:20:07 fabian Exp $
+ * $Id: strcasecmp.c,v 1.2 2001/04/12 02:39:44 guppy Exp $
  */
-/* Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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
Index: eggdrop1.6/src/compat/strcasecmp.h
diff -u eggdrop1.6/src/compat/strcasecmp.h:1.2 eggdrop1.6/src/compat/strcasecmp.h:1.3
--- eggdrop1.6/src/compat/strcasecmp.h:1.2	Tue Sep 12 10:26:51 2000
+++ eggdrop1.6/src/compat/strcasecmp.h	Wed Apr 11 21:39:44 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * strcasecmp.h
  *   prototypes for strcasecmp.c
- * 
- * $Id: strcasecmp.h,v 1.2 2000/09/12 15:26:51 fabian Exp $
+ *
+ * $Id: strcasecmp.h,v 1.3 2001/04/12 02:39:44 guppy Exp $
  */
-/* 
- * Copyright (C) 2000  Eggheads
- * 
+/*
+ * Copyright (C) 2000, 2001 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.
Index: eggdrop1.6/src/compat/strftime.c
diff -u eggdrop1.6/src/compat/strftime.c:1.1 eggdrop1.6/src/compat/strftime.c:1.2
--- eggdrop1.6/src/compat/strftime.c:1.1	Tue Sep 12 10:34:01 2000
+++ eggdrop1.6/src/compat/strftime.c	Wed Apr 11 21:39:44 2001
@@ -2,22 +2,22 @@
  * strftime.c
  *   Portable strftime implementation. Uses GNU's strftime().
  *
- * $Id: strftime.c,v 1.1 2000/09/12 15:34:01 fabian Exp $
+ * $Id: strftime.c,v 1.2 2001/04/12 02:39:44 guppy Exp $
  */
-/* 
- * Copyright (C) 2000  Eggheads
+/*
+ * Copyright (C) 2000, 2001 Eggheads Development Team
  * Written by Fabian Knittel
- * 
+ *
  * 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.
Index: eggdrop1.6/src/dcc.c
diff -u eggdrop1.6/src/dcc.c:1.43 eggdrop1.6/src/dcc.c:1.44
--- eggdrop1.6/src/dcc.c:1.43	Tue Feb 27 11:06:28 2001
+++ eggdrop1.6/src/dcc.c	Wed Apr 11 21:39:43 2001
@@ -1,25 +1,25 @@
-/* 
+/*
  * dcc.c -- handles:
  *   activity on a dcc socket
  *   disconnect on a dcc socket
  *   ...and that's it!  (but it's a LOT)
- * 
- * $Id: dcc.c,v 1.43 2001/02/27 17:06:28 guppy Exp $
+ *
+ * $Id: dcc.c,v 1.44 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -303,12 +303,12 @@
   MD5Update(&md5context, (unsigned char *) challenge, strlen(challenge));
   MD5Update(&md5context, (unsigned char *) password, strlen(password));
   MD5Final(digest, &md5context);
-  
+
   for (i = 0; i < 16; i++)
     sprintf(digest_string + (i*2), "%.2x", digest[i]);
-  dprintf(idx, "digest %s\n", digest_string);  
+  dprintf(idx, "digest %s\n", digest_string);
   putlog(LOG_BOTS, "*", "Received challenge from %s... sending response ...",
-	 dcc[idx].nick);  
+	 dcc[idx].nick);
 }
 
 static void dcc_bot_new(int idx, char *buf, int x)
@@ -522,10 +522,10 @@
   MD5Update(&md5context, (unsigned char *) password, strlen(password));
 
   MD5Final(digest, &md5context);
-  
+
   for (i = 0; i < 16; i++)
     sprintf(digest_string + (i * 2), "%.2x", digest[i]);
-  
+
   if (!strcmp(digest_string, remote_digest))
     return 1;
   putlog(LOG_BOTS, "*", "Response (password hash) from %s incorrect",
@@ -2075,11 +2075,11 @@
   strcpy(dcc[i].u.chat->con_chan, chanset ? chanset->name : "*");
   /* Displays a customizable banner. */
   if (use_telnet_banner)
-    show_banner(i);  
+    show_banner(i);
   /* This is so we dont tell someone doing a portscan anything
    * about ourselves. <cybah>
    */
-  if (stealth_telnets) 
+  if (stealth_telnets)
     sub_lang(i, MISC_BANNER_STEALTH);
   else {
     dprintf(i, "\n\n");
Index: eggdrop1.6/src/dccutil.c
diff -u eggdrop1.6/src/dccutil.c:1.30 eggdrop1.6/src/dccutil.c:1.31
--- eggdrop1.6/src/dccutil.c:1.30	Fri Apr  6 17:28:42 2001
+++ eggdrop1.6/src/dccutil.c	Wed Apr 11 21:39:43 2001
@@ -1,27 +1,27 @@
-/* 
+/*
  * dccutil.c -- handles:
  *   lots of little functions to send formatted text to
  *   varying types of connections
  *   '.who', '.whom', and '.dccstat' code
  *   memory management for dcc structures
  *   timeout checking for dcc connections
- * 
- * $Id: dccutil.c,v 1.30 2001/04/06 22:28:42 guppy Exp $
+ *
+ * $Id: dccutil.c,v 1.31 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -178,13 +178,13 @@
   len = strlen(s);
   if (len > 511)
     len = 511;
-  s[len + 1] = 0;    
+  s[len + 1] = 0;
 
   for (i = 0; i < dcc_total; i++)
     if (dcc[i].type == &DCC_CHAT)
       if (dcc[i].u.chat->channel >= 0)
         dprintf(i, "%s", s);
-  
+
 }
 
 /* Print to all on this channel but one.
@@ -204,13 +204,13 @@
   len = strlen(s);
   if (len > 511)
     len = 511;
-  s[len + 1] = 0; 
-    
+  s[len + 1] = 0;
+
   for (i = 0; i < dcc_total; i++)
     if ((dcc[i].type == &DCC_CHAT) && (i != x))
       if (dcc[i].u.chat->channel == chan)
         dprintf(i, "%s", s);
-  
+
 }
 
 void dcc_chatter(int idx)
@@ -533,7 +533,7 @@
       (dcc[idx].u.chat->channel >= 0)) {
     char x[1024];
 
-    egg_snprintf(x, sizeof x, DCC_BOOTED3, by, dcc[idx].nick, 
+    egg_snprintf(x, sizeof x, DCC_BOOTED3, by, dcc[idx].nick,
 		 reason[0] ? ": " : "", reason);
     chanout_but(idx, dcc[idx].u.chat->channel, "*** %s.\n", x);
     if (dcc[idx].u.chat->channel < 100000)
Index: eggdrop1.6/src/dns.c
diff -u eggdrop1.6/src/dns.c:1.20 eggdrop1.6/src/dns.c:1.21
--- eggdrop1.6/src/dns.c:1.20	Sat Mar 10 16:44:47 2001
+++ eggdrop1.6/src/dns.c	Wed Apr 11 21:39:43 2001
@@ -1,26 +1,26 @@
-/* 
+/*
  * dns.c -- handles:
  *   DNS resolve calls and events
  *   provides the code used by the bot if the DNS module is not loaded
  *   DNS Tcl commands
- * 
- * $Id: dns.c,v 1.20 2001/03/10 22:44:47 guppy Exp $
+ *
+ * $Id: dns.c,v 1.21 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
+/*
  * Written by Fabian Knittel <fknittel at gmx.de>
- * 
- * Copyright (C) 1999, 2000  Eggheads
- * 
+ *
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -242,7 +242,7 @@
 static void dns_tcl_iporhostres(IP ip, char *hostn, int ok, void *other)
 {
   devent_tclinfo_t *tclinfo = (devent_tclinfo_t *) other;
-  
+
   if (Tcl_VarEval(interp, tclinfo->proc, " ", iptostr(htonl(ip)), " ",
 		  hostn, ok ? " 1" : " 0", tclinfo->paras, NULL) == TCL_ERROR)
     putlog(LOG_MISC, "*", DCC_TCLERROR, tclinfo->proc, interp->result);
@@ -426,7 +426,7 @@
 }
 
 
-/* 
+/*
  *    Async DNS emulation functions
  */
 
@@ -456,7 +456,7 @@
 {
   struct in_addr inaddr;
 
-  /* Check if someone passed us an IP address as hostname 
+  /* Check if someone passed us an IP address as hostname
    * and return it straight away */
   if (egg_inet_aton(host, &inaddr)) {
     call_ipbyhost(host, ntohl(inaddr.s_addr), 1);
@@ -502,7 +502,7 @@
 {
   struct in_addr inaddr;
   char *paras = NULL;
- 
+
   if (argc < 3) {
     Tcl_AppendResult(irp, "wrong # args: should be \"", argv[0],
 		     " ip-address/hostname proc ?args...?\"", NULL);
Index: eggdrop1.6/src/dns.h
diff -u eggdrop1.6/src/dns.h:1.5 eggdrop1.6/src/dns.h:1.6
--- eggdrop1.6/src/dns.h:1.5	Sat Sep  9 06:39:09 2000
+++ eggdrop1.6/src/dns.h	Wed Apr 11 21:39:43 2001
@@ -1,24 +1,24 @@
-/* 
+/*
  * dns.h
  *   stuff used by dns.c
- * 
- * $Id: dns.h,v 1.5 2000/09/09 11:39:09 fabian Exp $
+ *
+ * $Id: dns.h,v 1.6 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
+/*
  * Written by Fabian Knittel <fknittel at gmx.de>
+ *
+ * Copyright (C) 1999, 2000, 2001 Eggheads Development Team
  *
- * Copyright (C) 1999, 2000  Eggheads
- * 
  * 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.
Index: eggdrop1.6/src/eggdrop.h
diff -u eggdrop1.6/src/eggdrop.h:1.36 eggdrop1.6/src/eggdrop.h:1.37
--- eggdrop1.6/src/eggdrop.h:1.36	Fri Oct 27 14:35:51 2000
+++ eggdrop1.6/src/eggdrop.h	Wed Apr 11 21:39:43 2001
@@ -1,25 +1,25 @@
-/* 
+/*
  * eggdrop.h
  *   Eggdrop compile-time settings
- * 
+ *
  *   IF YOU ALTER THIS FILE, YOU NEED TO RECOMPILE THE BOT.
- * 
- * $Id: eggdrop.h,v 1.36 2000/10/27 19:35:51 fabian Exp $
+ *
+ * $Id: eggdrop.h,v 1.37 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -28,19 +28,19 @@
 #ifndef _EGG_EGGDROP_H
 #define _EGG_EGGDROP_H
 
-/* 
+/*
  * If you're *only* going to link to new version bots (1.3.0 or higher)
  * then you can safely define this.
  */
 #undef NO_OLD_BOTNET
 
-/* 
+/*
  * Undefine this to completely disable context debugging.
  * WARNING: DO NOT send in bug reports if you undefine this!
  */
 #define DEBUG_CONTEXT
 
-/* 
+/*
  * HANDLEN note:
  *       HANDLEN defines the maximum length a handle on the bot can be.
  *       Standard (and minimum) is 9 characters long.
@@ -259,7 +259,7 @@
   char nick[NICKLEN];
   char host[UHOSTLEN];
   struct dcc_table *type;
-  time_t timeval;		/* Use for any timing stuff 
+  time_t timeval;		/* Use for any timing stuff
 				   - this is used for timeout checking	*/
   unsigned long status;		/* A LOT of dcc types have status
 				   thingos, this makes it more avaliabe	*/
@@ -318,7 +318,7 @@
 };
 
 enum {				/* transfer connection handling a ...	*/
-	XFER_SEND,		/*  ... normal file-send to s.o.	*/ 
+	XFER_SEND,		/*  ... normal file-send to s.o.	*/
 	XFER_RESEND,		/*  ... file-resend to s.o.		*/
 	XFER_RESEND_PEND,	/*  ... (as above) and waiting for info	*/
 	XFER_RESUME,		/*  ... file-send-resume to s.o.	*/
Index: eggdrop1.6/src/flags.c
diff -u eggdrop1.6/src/flags.c:1.17 eggdrop1.6/src/flags.c:1.18
--- eggdrop1.6/src/flags.c:1.17	Sun Dec 10 09:10:27 2000
+++ eggdrop1.6/src/flags.c	Wed Apr 11 21:39:43 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * flags.c -- handles:
  *   all the flag matching/conversion functions in one neat package :)
- * 
- * $Id: flags.c,v 1.17 2000/12/10 15:10:27 guppy Exp $
+ *
+ * $Id: flags.c,v 1.18 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -702,7 +702,7 @@
 static int botfl_unpack(struct userrec *u, struct user_entry *e)
 {
   struct flag_record fr = {FR_BOT, 0, 0, 0, 0, 0};
- 
+
   break_down_flags(e->u.list->extra, &fr, NULL);
   list_type_kill(e->u.list);
   e->u.ulong = fr.bot;
Index: eggdrop1.6/src/flags.h
diff -u eggdrop1.6/src/flags.h:1.7 eggdrop1.6/src/flags.h:1.8
--- eggdrop1.6/src/flags.h:1.7	Fri Oct 27 14:38:08 2000
+++ eggdrop1.6/src/flags.h	Wed Apr 11 21:39:43 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * flags.h
- * 
- * $Id: flags.h,v 1.7 2000/10/27 19:38:08 fabian Exp $
+ *
+ * $Id: flags.h,v 1.8 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -42,16 +42,16 @@
 #define FR_ANYWH  0x10000000
 #define FR_ALL    0x0fffffff
 
-/* 
+/*
  * userflags:
  *             abcdefgh?jk?mnopq??tuvwx??
  * + user defined A-Z
  *   unused letters: ilrsyz
- * 
+ *
  * botflags:
  *   0123456789ab????ghi??l???p?rs???????
  *   unused letters: cdefjkmnoqtuvwxyz
- * 
+ *
  * chanflags:
  *             a??defg???k?mno?q???uv????
  * + user defined A-Z
Index: eggdrop1.6/src/lang.h
diff -u eggdrop1.6/src/lang.h:1.21 eggdrop1.6/src/lang.h:1.22
--- eggdrop1.6/src/lang.h:1.21	Sat Feb 24 14:08:51 2001
+++ eggdrop1.6/src/lang.h	Wed Apr 11 21:39:43 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * lang.h
  *   Conversion definitions for language support
- * 
- * $Id: lang.h,v 1.21 2001/02/24 20:08:51 guppy Exp $
+ *
+ * $Id: lang.h,v 1.22 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/language.c
diff -u eggdrop1.6/src/language.c:1.11 eggdrop1.6/src/language.c:1.12
--- eggdrop1.6/src/language.c:1.11	Sun Dec 10 09:10:27 2000
+++ eggdrop1.6/src/language.c	Wed Apr 11 21:39:43 2001
@@ -1,32 +1,32 @@
-/* 
+/*
  * language.c -- handles:
  *   language support code
- * 
- * $Id: language.c,v 1.11 2000/12/10 15:10:27 guppy Exp $
+ *
+ * $Id: language.c,v 1.12 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
  */
 
-/* 
+/*
  * DOES:
  *              Nothing <- typical BB code :)
- * 
+ *
  * ENVIRONMENT VARIABLES:
  *              EGG_LANG       - language to use (default: "english")
  *              EGG_LANGDIR    - directory with all lang files
@@ -42,12 +42,12 @@
  *              DCC .relang
  *              DCC .ldump
  *              DCC .lstat
- * 
+ *
  * FILE FORMAT: language.lang
  *              <textidx>,<text>
  * TEXT MESSAGE USAGE:
  *              get_language(<textidx> [,<PARMS>])
- * 
+ *
  * ADDING LANGUAGES:
  *              o       Copy an existing <section>.<oldlanguage>.lang to a
  *                      new .lang file and modify as needed.
@@ -60,7 +60,7 @@
  *              o       Create a <newsection>.english.lang file.
  *              o       Add add_lang_section("<newsection>"); to your module
  *                      startup function.
- * 
+ *
  */
 
 #include "main.h"
@@ -134,7 +134,7 @@
   if (langpriority)
     lp->next = langpriority;
   langpriority = lp;
-  debug1("LANG: Language loaded: %s", lang); 
+  debug1("LANG: Language loaded: %s", lang);
 }
 
 /* Remove a language from the list of preferred languages.
@@ -153,7 +153,7 @@
       if (lp->lang)
         nfree(lp->lang);
       nfree(lp);
-      debug1("LANG: Language unloaded: %s", lang); 
+      debug1("LANG: Language unloaded: %s", lang);
       return 1;
     }
     lpo = lp;
@@ -332,7 +332,7 @@
   else
     langsection = ls;
   debug1("LANG: Section loaded: %s", section);
-  
+
   /* Always load base language */
   langfile = get_specific_langfile(BASELANG, ls);
   if (langfile) {
@@ -623,7 +623,7 @@
 	  used, empty, maxdepth, (float) ltexts / 64.0);
   if (lp) {
     int c = 0;
-    
+
     dprintf(idx, "   Supported languages:");
     while (lp) {
       dprintf(idx, "%s %s", c ? "," : "", lp->lang);
@@ -670,7 +670,7 @@
 static int tcl_plslang STDVAR
 {
   BADARGS(2, 2, " language");
-  
+
   add_lang(argv[1]);
   recheck_lang_sections();
 
@@ -678,7 +678,7 @@
 }
 
 static int tcl_mnslang STDVAR
-{ 
+{
   BADARGS(2, 2, " language");
 
   if (!del_lang(argv[1])) {
@@ -691,7 +691,7 @@
 }
 
 static int tcl_addlangsection STDVAR
-{ 
+{
   BADARGS(2, 2, " section");
 
   add_lang_section(argv[1]);
@@ -699,7 +699,7 @@
 }
 
 static int tcl_dellangsection STDVAR
-{ 
+{
   BADARGS(2, 2, " section");
 
   if (!del_lang_section(argv[1])) {
Index: eggdrop1.6/src/main.c
diff -u eggdrop1.6/src/main.c:1.55 eggdrop1.6/src/main.c:1.56
--- eggdrop1.6/src/main.c:1.55	Sun Apr  1 12:42:55 2001
+++ eggdrop1.6/src/main.c	Wed Apr 11 21:39:43 2001
@@ -1,31 +1,31 @@
-/* 
+/*
  * main.c -- handles:
  *   core event handling
  *   signal handling
  *   command line arguments
  *   context and assert debugging
- * 
- * $Id: main.c,v 1.55 2001/04/01 17:42:55 guppy Exp $
+ *
+ * $Id: main.c,v 1.56 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
  */
-/* 
+/*
  * The author (Robey Pointer) can be reached at:  robey at netcom.com
  * NOTE: Robey is no long working on this code, there is a discussion
  * list avaliable at eggheads at eggheads.org.
@@ -70,7 +70,7 @@
 extern jmp_buf		 alarmret;
 
 
-/* 
+/*
  * Please use the PATCH macro instead of directly altering the version
  * string from now on (it makes it much easier to maintain patches).
  * Also please read the README file regarding your rights to distribute
@@ -214,7 +214,7 @@
   if (nested_debug) {
     /* Yoicks, if we have this there's serious trouble!
      * All of these are pretty reliable, so we'll try these.
-     * 
+     *
      * NOTE: dont try and display context-notes in here, it's
      *       _not_ safe <cybah>
      */
@@ -702,9 +702,8 @@
 #include "patch.h"
   /* Version info! */
   egg_snprintf(ver, sizeof ver, "eggdrop v%s", egg_version);
-  egg_snprintf(version, sizeof version, 
-	       "Eggdrop v%s  (c)1997 Robey Pointer (c)1999, 2000  Eggheads",
-     egg_version);
+  egg_snprintf(version, sizeof version, "Eggdrop v%s (C)1997 Robey Pointer (C)2001 Eggheads",
+	       egg_version);
   /* Now add on the patchlevel (for Tcl) */
   sprintf(&egg_version[strlen(egg_version)], " %u", egg_numver);
   strcat(egg_version, egg_xtra);
@@ -948,7 +947,7 @@
 	      else
 		itraffic_unknown_today += strlen(buf) + 1;
 	    }
-	    dcc[idx].type->activity(idx, buf, i);      
+	    dcc[idx].type->activity(idx, buf, i);
 	  } else
 	    putlog(LOG_MISC, "*",
 		   "!!! untrapped dcc activity: type %s, sock %d",
Index: eggdrop1.6/src/main.h
diff -u eggdrop1.6/src/main.h:1.17 eggdrop1.6/src/main.h:1.18
--- eggdrop1.6/src/main.h:1.17	Tue Jan 30 23:32:31 2001
+++ eggdrop1.6/src/main.h	Wed Apr 11 21:39:43 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * main.h
  *   include file to include most other include files
- * 
- * $Id: main.h,v 1.17 2001/01/31 05:32:31 guppy Exp $
+ *
+ * $Id: main.h,v 1.18 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/mem.c
diff -u eggdrop1.6/src/mem.c:1.14 eggdrop1.6/src/mem.c:1.15
--- eggdrop1.6/src/mem.c:1.14	Sun Dec 10 09:10:27 2000
+++ eggdrop1.6/src/mem.c	Wed Apr 11 21:39:43 2001
@@ -1,24 +1,24 @@
-/* 
+/*
  * mem.c -- handles:
  *   memory allocation and deallocation
  *   keeping track of what memory is being used by whom
- * 
- * $Id: mem.c,v 1.14 2000/12/10 15:10:27 guppy Exp $
+ *
+ * $Id: mem.c,v 1.15 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/misc.c
diff -u eggdrop1.6/src/misc.c:1.38 eggdrop1.6/src/misc.c:1.39
--- eggdrop1.6/src/misc.c:1.38	Fri Apr  6 17:28:42 2001
+++ eggdrop1.6/src/misc.c	Wed Apr 11 21:39:43 2001
@@ -1,4 +1,4 @@
-/* 
+/*
  * misc.c -- handles:
  *   split() maskhost() dumplots() daysago() days() daysdur()
  *   logging things
@@ -6,23 +6,23 @@
  *   resync buffers for sharebots
  *   help system
  *   motd display and %var substitution
- * 
- * $Id: misc.c,v 1.38 2001/04/06 22:28:42 guppy Exp $
+ *
+ * $Id: misc.c,v 1.39 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -167,7 +167,7 @@
     *dst++ = *src++;
     max--;
   }
-	
+
   /* null-terminate the buffer */
   *dst = 0;
 
@@ -299,7 +299,7 @@
         if (strict_host)
 	  nw[i] = '?';
 	else
-	  i--; 
+	  i--;
       } else
 	nw[i] = *p;
       fl++;
@@ -374,10 +374,10 @@
 /* Converts an UTF-8 string to unicode safe string
  */
 void str_nutf8tounicode(char *str, int len)
-{  
+{
   Tcl_DString       ds_conversion;
   Tcl_SavedResult   sr_oldresult;
-  
+
   /* Don't call this before calling init_tcl() */
   if (interp) {
     Tcl_DStringInit(&ds_conversion);
@@ -408,7 +408,7 @@
 {
   char		*p = data, *q, *n, c;
   const int	 max_data_len = 500 - strlen(prefix);
-  
+
   if (!*data) {
     dprintf(idx, "%s\n", prefix);
     return;
@@ -459,7 +459,7 @@
   if (now - then > 86400) {
     int days = (now - then) / 86400;
 
-    sprintf(out, "%d day%s ago", days, (days == 1) ? "" : "s");    
+    sprintf(out, "%d day%s ago", days, (days == 1) ? "" : "s");
     return;
   }
   egg_strftime(out, 6, "%H:%M", localtime(&then));
@@ -807,7 +807,7 @@
   writeidx = s;
   current = strchr(readidx, '%');
   while (current) {
-    /* Are we about to copy a chuck to the end of the buffer? 
+    /* Are we about to copy a chuck to the end of the buffer?
      * if so return
      */
     if ((writeidx + (current - readidx)) >= (s + HELP_BUF_LEN)) {
@@ -1231,7 +1231,7 @@
 {
   char s[HELP_BUF_LEN + 1];
   int lines = 0;
-  
+
   if (f) {
     help_subst(NULL, NULL, 0,
 	       (dcc[idx].status & STAT_TELNET) ? 0 : HELP_IRC, NULL);
@@ -1502,10 +1502,10 @@
  * The string
  *
  *   "\\3a\\5c i am funny \\3a):further text\\5c):oink"
- * 
+ *
  * as str, '\\' as mask and ':' as div would change the str buffer
  * to
- * 
+ *
  *   ":\\ i am funny :)"
  *
  * and return a pointer to "further text\\5c):oink".
Index: eggdrop1.6/src/misc_file.c
diff -u eggdrop1.6/src/misc_file.c:1.3 eggdrop1.6/src/misc_file.c:1.4
--- eggdrop1.6/src/misc_file.c:1.3	Sun Dec 10 09:10:27 2000
+++ eggdrop1.6/src/misc_file.c	Wed Apr 11 21:39:43 2001
@@ -1,23 +1,22 @@
-/* 
+/*
  * misc.c -- handles:
  *   copyfile() movefile()
- * 
- * $Id: misc_file.c,v 1.3 2000/12/10 15:10:27 guppy Exp $
+ *
+ * $Id: misc_file.c,v 1.4 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -78,7 +77,7 @@
 int movefile(char *oldpath, char *newpath)
 {
   int ret;
-  
+
 #ifdef HAVE_RENAME
   /* Try to use rename first */
   if (!rename(oldpath, newpath))
Index: eggdrop1.6/src/misc_file.h
diff -u eggdrop1.6/src/misc_file.h:1.1 eggdrop1.6/src/misc_file.h:1.2
--- eggdrop1.6/src/misc_file.h:1.1	Tue Mar 21 18:42:57 2000
+++ eggdrop1.6/src/misc_file.h	Wed Apr 11 21:39:43 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * misc_file.h
  *   prototypes for misc_file.c
- * 
- * $Id: misc_file.h,v 1.1 2000/03/22 00:42:57 fabian Exp $
+ *
+ * $Id: misc_file.h,v 1.2 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 2000  Eggheads
- * 
+/*
+ * Copyright (C) 2000, 2001 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.
Index: eggdrop1.6/src/mod/assoc.mod/assoc.c
diff -u eggdrop1.6/src/mod/assoc.mod/assoc.c:1.12 eggdrop1.6/src/mod/assoc.mod/assoc.c:1.13
--- eggdrop1.6/src/mod/assoc.mod/assoc.c:1.12	Tue Jan 16 11:13:21 2001
+++ eggdrop1.6/src/mod/assoc.mod/assoc.c	Wed Apr 11 21:39:44 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * assoc.c -- part of assoc.mod
  *   the assoc code, moved here mainly from botnet.c for module work
- * 
- * $Id: assoc.c,v 1.12 2001/01/16 17:13:21 guppy Exp $
+ *
+ * $Id: assoc.c,v 1.13 2001/04/12 02:39:44 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/mod/assoc.mod/assoc.h
diff -u eggdrop1.6/src/mod/assoc.mod/assoc.h:1.1 eggdrop1.6/src/mod/assoc.mod/assoc.h:1.2
--- eggdrop1.6/src/mod/assoc.mod/assoc.h:1.1	Sat Sep 23 12:45:23 2000
+++ eggdrop1.6/src/mod/assoc.mod/assoc.h	Wed Apr 11 21:39:44 2001
@@ -1,10 +1,10 @@
 /*
  * assoc.h -- part of assoc.mod
  *
- * $Id: assoc.h,v 1.1 2000/09/23 17:45:23 fabian Exp $
+ * $Id: assoc.h,v 1.2 2001/04/12 02:39:44 guppy Exp $
  */
 /*
- * Copyright (C) 2000  Eggheads
+ * Copyright (C) 2000, 2001 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
Index: eggdrop1.6/src/mod/blowfish.mod/bf_tab.h
diff -u eggdrop1.6/src/mod/blowfish.mod/bf_tab.h:1.3 eggdrop1.6/src/mod/blowfish.mod/bf_tab.h:1.4
--- eggdrop1.6/src/mod/blowfish.mod/bf_tab.h:1.3	Sun Jan 30 13:26:21 2000
+++ eggdrop1.6/src/mod/blowfish.mod/bf_tab.h	Wed Apr 11 21:39:44 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * bf_tab.h -- part of blowfish.mod
  *   Blowfish P-box and S-box tables
- * 
- * $Id: bf_tab.h,v 1.3 2000/01/30 19:26:21 fabian Exp $
+ *
+ * $Id: bf_tab.h,v 1.4 2001/04/12 02:39:44 guppy Exp $
  */
-/* 
- * Copyright (C) 1999  Eggheads
- * 
+/*
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/mod/blowfish.mod/blowfish.c
diff -u eggdrop1.6/src/mod/blowfish.mod/blowfish.c:1.17 eggdrop1.6/src/mod/blowfish.mod/blowfish.c:1.18
--- eggdrop1.6/src/mod/blowfish.mod/blowfish.c:1.17	Sat Mar 10 16:32:11 2001
+++ eggdrop1.6/src/mod/blowfish.mod/blowfish.c	Wed Apr 11 21:39:44 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * blowfish.c -- part of blowfish.mod
  *   encryption and decryption of passwords
- * 
- * $Id: blowfish.c,v 1.17 2001/03/10 22:32:11 guppy Exp $
+ *
+ * $Id: blowfish.c,v 1.18 2001/04/12 02:39:44 guppy Exp $
  */
-/* 
- * Copyright (C) 1999  Eggheads
- * Copyright (C) 1997  Robey Pointer
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/mod/blowfish.mod/blowfish.h
diff -u eggdrop1.6/src/mod/blowfish.mod/blowfish.h:1.5 eggdrop1.6/src/mod/blowfish.mod/blowfish.h:1.6
--- eggdrop1.6/src/mod/blowfish.mod/blowfish.h:1.5	Sun Jan 30 13:26:21 2000
+++ eggdrop1.6/src/mod/blowfish.mod/blowfish.h	Wed Apr 11 21:39:44 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * blowfish.h -- part of blowfish.mod
- * 
- * $Id: blowfish.h,v 1.5 2000/01/30 19:26:21 fabian Exp $
+ *
+ * $Id: blowfish.h,v 1.6 2001/04/12 02:39:44 guppy Exp $
  */
-/* 
- * Copyright (C) 1999  Eggheads
- * Copyright (C) 1996  Robey Pointer
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/mod/channels.mod/channels.c
diff -u eggdrop1.6/src/mod/channels.mod/channels.c:1.46 eggdrop1.6/src/mod/channels.mod/channels.c:1.47
--- eggdrop1.6/src/mod/channels.mod/channels.c:1.46	Tue Jan 16 11:13:21 2001
+++ eggdrop1.6/src/mod/channels.mod/channels.c	Wed Apr 11 21:39:45 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * channels.c -- part of channels.mod
  *   support for channels within the bot
- * 
- * $Id: channels.c,v 1.46 2001/01/16 17:13:21 guppy Exp $
+ *
+ * $Id: channels.c,v 1.47 2001/04/12 02:39:45 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -33,7 +33,7 @@
 static int  setstatic;
 static int  use_info;
 static int  ban_time;
-static int  exempt_time;		/* If exempt_time = 0, never remove 
+static int  exempt_time;		/* If exempt_time = 0, never remove
 					   them */
 static int  invite_time;		/* If invite_time = 0, never remove
 					   them */
@@ -276,7 +276,7 @@
 {
    int		 i;
    module_entry	*me;
-   
+
    /* Remove the channel from the list, so that noone can pull it
       away from under our feet during the check_tcl_part() call. */
    (void) chanset_unlink(chan);
Index: eggdrop1.6/src/mod/channels.mod/channels.h
diff -u eggdrop1.6/src/mod/channels.mod/channels.h:1.15 eggdrop1.6/src/mod/channels.mod/channels.h:1.16
--- eggdrop1.6/src/mod/channels.mod/channels.h:1.15	Fri Nov  3 11:15:49 2000
+++ eggdrop1.6/src/mod/channels.mod/channels.h	Wed Apr 11 21:39:45 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * channels.h -- part of channels.mod
- * 
- * $Id: channels.h,v 1.15 2000/11/03 17:15:49 fabian Exp $
+ *
+ * $Id: channels.h,v 1.16 2001/04/12 02:39:45 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/mod/channels.mod/cmdschan.c
diff -u eggdrop1.6/src/mod/channels.mod/cmdschan.c:1.41 eggdrop1.6/src/mod/channels.mod/cmdschan.c:1.42
--- eggdrop1.6/src/mod/channels.mod/cmdschan.c:1.41	Sat Mar 17 17:25:12 2001
+++ eggdrop1.6/src/mod/channels.mod/cmdschan.c	Wed Apr 11 21:39:45 2001
@@ -2,11 +2,11 @@
  * cmdschan.c -- part of channels.mod
  *   commands from a user via dcc that cause server interaction
  *
- * $Id: cmdschan.c,v 1.41 2001/03/17 23:25:12 guppy Exp $
+ * $Id: cmdschan.c,v 1.42 2001/04/12 02:39:45 guppy Exp $
  */
 /*
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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
@@ -547,7 +547,7 @@
 	dprintf(idx, "Removed %s channel exempt: %s\n", chan->dname, s);
 	add_mode(chan, '-', 'e', s);
 	return;
-      }	
+      }
       i = 0;
       for (e = chan->channel.exempt; e && e->mask && e->mask[0]; e = e->next) {
 	if (!u_equals_mask(global_exempts, e->mask) &&
@@ -636,7 +636,7 @@
 	dprintf(idx, "Removed %s channel invite: %s\n", chan->dname, s);
 	add_mode(chan, '-', 'I', s);
 	return;
-      }	
+      }
       i = 0;
       for (inv = chan->channel.invite; inv && inv->mask && inv->mask[0];
 	   inv = inv->next) {
@@ -863,7 +863,7 @@
   struct chanset_t *chan, *achan;
   char *stick_type, s[UHOSTLEN], chname[81];
   module_entry *me;
-  
+
   stick_type = newsplit(&par);
   strncpyz(s, newsplit(&par), sizeof s);
   strncpyz(chname, newsplit(&par), sizeof chname);
@@ -947,7 +947,7 @@
     return;
   }
   if (!chname[0]) {
-    i = u_setsticky_ban(NULL, s, 
+    i = u_setsticky_ban(NULL, s,
                         (dcc[idx].user->flags & USER_MASTER) ? yn : -1);
     if (i > 0) {
       putlog(LOG_CMDS, "*", "#%s# %sstick ban %s",
Index: eggdrop1.6/src/mod/channels.mod/tclchan.c
diff -u eggdrop1.6/src/mod/channels.mod/tclchan.c:1.45 eggdrop1.6/src/mod/channels.mod/tclchan.c:1.46
--- eggdrop1.6/src/mod/channels.mod/tclchan.c:1.45	Fri Apr  6 17:28:43 2001
+++ eggdrop1.6/src/mod/channels.mod/tclchan.c	Wed Apr 11 21:39:45 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * tclchan.c -- part of channels.mod
- * 
- * $Id: tclchan.c,v 1.45 2001/04/06 22:28:43 guppy Exp $
+ *
+ * $Id: tclchan.c,v 1.46 2001/04/12 02:39:45 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -131,7 +131,7 @@
 {
   struct chanset_t *chan;
   int ok = 0;
-  
+
   BADARGS(2, 3, " ban ?channel?");
   if (argc == 3) {
     chan = findchan_by_dname(argv[2]);
@@ -230,7 +230,7 @@
 {
   struct chanset_t *chan;
   int ok = 0;
-  
+
   BADARGS(2, 3, " exempt ?channel?");
   if (argc == 3) {
     chan = findchan_by_dname(argv[2]);
@@ -254,7 +254,7 @@
 {
   struct chanset_t *chan;
   int ok = 0;
-  
+
   BADARGS(2, 3, " invite ?channel?");
   if (argc == 3) {
     chan = findchan_by_dname(argv[2]);
@@ -303,7 +303,7 @@
 {
   struct chanset_t *chan;
   int ok = 0;
-  
+
   BADARGS(2, 3, " exempt ?channel?");
   if (argc == 3) {
     chan = findchan_by_dname(argv[2]);
@@ -327,7 +327,7 @@
 {
   struct chanset_t *chan;
   int ok = 0;
-  
+
   BADARGS(2, 3, " invite ?channel?");
   if (argc == 3) {
     chan = findchan_by_dname(argv[2]);
@@ -574,7 +574,7 @@
   struct chanset_t *chan;
   char exempt[161], cmt[MASKREASON_LEN], from[HANDLEN + 1];
   int sticky = 0;
- 
+
   BADARGS(5, 7, " channel exempt creator comment ?lifetime? ?options?");
   chan = findchan_by_dname(argv[1]);
   if (chan == NULL) {
@@ -606,14 +606,14 @@
     add_mode(chan, '+', 'e', exempt);
   return TCL_OK;
 }
- 
+
 static int tcl_newexempt STDVAR
 {
   time_t expire_time;
   struct chanset_t *chan;
   char exempt[UHOSTLEN], cmt[MASKREASON_LEN], from[HANDLEN + 1];
   int sticky = 0;
- 
+
   BADARGS(4, 6, " exempt creator comment ?lifetime? ?options?");
   if (argc == 6) {
     if (!egg_strcasecmp(argv[5], "none"));
@@ -644,14 +644,14 @@
   }
   return TCL_OK;
 }
- 
+
 static int tcl_newchaninvite STDVAR
 {
   time_t expire_time;
   struct chanset_t *chan;
   char invite[161], cmt[MASKREASON_LEN], from[HANDLEN + 1];
   int sticky = 0;
-  
+
   BADARGS(5, 7, " channel invite creator comment ?lifetime? ?options?");
   chan = findchan_by_dname(argv[1]);
   if (chan == NULL) {
@@ -683,7 +683,7 @@
     add_mode(chan, '+', 'I', invite);
   return TCL_OK;
 }
- 
+
 static int tcl_newinvite STDVAR
 {
   time_t expire_time;
@@ -1041,7 +1041,7 @@
     else if (!strcmp(item[i], "+protectfriends"))
       chan->status |= CHAN_PROTECTFRIENDS;
     else if (!strcmp(item[i], "-protectfriends"))
-      chan->status &= ~CHAN_PROTECTFRIENDS;   
+      chan->status &= ~CHAN_PROTECTFRIENDS;
     else if (!strcmp(item[i], "+dontkickops"))
       chan->status |= CHAN_DONTKICKOPS;
     else if (!strcmp(item[i], "-dontkickops"))
@@ -1109,7 +1109,7 @@
     else if (!strncmp(item[i], "flood-", 6)) {
       int *pthr = 0, *ptime;
       char *p;
-      
+
       if (!strcmp(item[i] + 6, "chan")) {
 	pthr = &chan->flood_pub_thr;
 	ptime = &chan->flood_pub_time;
@@ -1237,7 +1237,7 @@
       if ((me = module_find("irc", 1, 2)))
 	(me->funcs[IRC_RECHECK_CHANNEL_MODES])(chan);
   }
-  if (x > 0) 
+  if (x > 0)
     return TCL_ERROR;
   return TCL_OK;
 }
@@ -1261,7 +1261,7 @@
     Tcl_Free((char *) p);
     m = m->next;
   }
-  return TCL_OK;  
+  return TCL_OK;
 }
 
 static int tcl_banlist STDVAR
@@ -1277,14 +1277,14 @@
     }
     return tcl_do_masklist(chan->bans, irp);
   }
-  
+
   return tcl_do_masklist(global_bans, irp);
 }
 
 static int tcl_exemptlist STDVAR
 {
   struct chanset_t *chan;
-  
+
   BADARGS(1, 2, " ?channel?");
   if (argc == 2) {
     chan = findchan_by_dname(argv[1]);
@@ -1294,14 +1294,14 @@
     }
     return tcl_do_masklist(chan->exempts, irp);
   }
-  
+
   return tcl_do_masklist(global_exempts, irp);
 }
 
 static int tcl_invitelist STDVAR
 {
   struct chanset_t *chan;
-  
+
   BADARGS(1, 2, " ?channel?");
   if (argc == 2) {
     chan = findchan_by_dname(argv[1]);
@@ -1397,7 +1397,7 @@
 
   BADARGS(4, 4, " handle channel info");
   chan = findchan_by_dname(argv[2]);
-  if (chan == NULL) { 
+  if (chan == NULL) {
     Tcl_AppendResult(irp, "illegal channel: ", argv[2], NULL);
     return TCL_ERROR;
   }
@@ -1495,10 +1495,10 @@
 
   chan->channel.ban = (masklist *) nmalloc(sizeof(masklist));
   init_masklist(chan->channel.ban);
-  
+
   chan->channel.exempt = (masklist *) nmalloc(sizeof(masklist));
   init_masklist(chan->channel.exempt);
-  
+
   chan->channel.invite = (masklist *) nmalloc(sizeof(masklist));
   init_masklist(chan->channel.invite);
 
@@ -1511,7 +1511,7 @@
 static void clear_masklist(masklist *m)
 {
   masklist *temp;
-  
+
   while (m) {
     temp = m->next;
     if (m->mask)
@@ -1537,7 +1537,7 @@
     nfree(m);
     m = m1;
   }
-  
+
   clear_masklist(chan->channel.ban);
   chan->channel.ban = NULL;
   clear_masklist(chan->channel.exempt);
@@ -1604,14 +1604,14 @@
     chan->idle_kick = global_idle_kick;
     chan->aop_min = global_aop_min;
     chan->aop_max = global_aop_max;
-    
+
     /* We _only_ put the dname (display name) in here so as not to confuse
      * any code later on. chan->name gets updated with the channel name as
      * the server knows it, when we join the channel. <cybah>
      */
     strncpy(chan->dname, newname, 81);
     chan->dname[80] = 0;
-    
+
     /* Initialize chan->channel info */
     init_channel(chan, 0);
     list_append((struct list_type **) &chanset, (struct list_type *) chan);
@@ -1631,13 +1631,13 @@
   Tcl_Free((char *) item);
   if (join && !channel_inactive(chan) && module_find("irc", 0, 0))
     dprintf(DP_SERVER, "JOIN %s %s\n", chan->dname, chan->key_prot);
-  return ret; 
+  return ret;
 }
 
 static int tcl_setudef STDVAR
 {
   int type;
-  
+
   BADARGS(3, 3, " type name");
   if (!egg_strcasecmp(argv[1], "flag"))
     type = UDEF_FLAG;
@@ -1655,7 +1655,7 @@
 {
   struct udef_struct *ul;
   int type, found = 0;
-  
+
   BADARGS(4, 4, " type oldname newname");
   if (!egg_strcasecmp(argv[1], "flag"))
     type = UDEF_FLAG;
@@ -1684,7 +1684,7 @@
 {
   struct udef_struct *ul, *ull;
   int type, found = 0;
-  
+
   BADARGS(3, 3, " type name");
   if (!egg_strcasecmp(argv[1], "flag"))
     type = UDEF_FLAG;
Index: eggdrop1.6/src/mod/channels.mod/udefchan.c
diff -u eggdrop1.6/src/mod/channels.mod/udefchan.c:1.5 eggdrop1.6/src/mod/channels.mod/udefchan.c:1.6
--- eggdrop1.6/src/mod/channels.mod/udefchan.c:1.5	Wed Sep 13 15:49:40 2000
+++ eggdrop1.6/src/mod/channels.mod/udefchan.c	Wed Apr 11 21:39:45 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * udefchan.c -- part of channels.mod
  *   user definable channel flags/settings
- * 
- * $Id: udefchan.c,v 1.5 2000/09/13 20:49:40 fabian Exp $
+ *
+ * $Id: udefchan.c,v 1.6 2001/04/12 02:39:45 guppy Exp $
  */
-/* 
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -37,7 +37,7 @@
 static int expmem_udef_chans(struct udef_chans *ul)
 {
   int i = 0;
-  
+
   for (; ul; ul = ul->next) {
     i += sizeof(struct udef_chans);
     i += strlen(ul->chan) + 1;
@@ -92,7 +92,7 @@
   else
     us->values = ul;
 }
-  
+
 static void initudef(int type, char *name, int defined)
 {
   struct udef_struct *ul, *ul_last = NULL;
@@ -140,7 +140,7 @@
 static void free_udef_chans(struct udef_chans *ul)
 {
   struct udef_chans *ull;
-  
+
   for (; ul; ul = ull) {
     ull = ul->next;
     nfree(ul->chan);
Index: eggdrop1.6/src/mod/channels.mod/userchan.c
diff -u eggdrop1.6/src/mod/channels.mod/userchan.c:1.22 eggdrop1.6/src/mod/channels.mod/userchan.c:1.23
--- eggdrop1.6/src/mod/channels.mod/userchan.c:1.22	Tue Jan 16 11:13:21 2001
+++ eggdrop1.6/src/mod/channels.mod/userchan.c	Wed Apr 11 21:39:45 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * userchan.c -- part of channels.mod
- * 
- * $Id: userchan.c,v 1.22 2001/01/16 17:13:21 guppy Exp $
+ *
+ * $Id: userchan.c,v 1.23 2001/04/12 02:39:45 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -175,7 +175,7 @@
 			    int sticky, char *botcmd)
 {
   int j;
-  
+
   j = atoi(uhost);
   if (!j)
     j = (-1);
@@ -198,7 +198,7 @@
                                         (chan) ? chan->dname : "");
       return 1;
     }
-    
+
     u = u->next;
   }
   if (j >= 0)
@@ -208,7 +208,7 @@
 }
 
 /* Merge of u_equals_ban(), u_equals_exempt() and u_equals_invite().
- * 
+ *
  * Returns:
  *   0       not a ban
  *   1       temporary ban
@@ -243,7 +243,7 @@
   int j, i = 0;
   maskrec *t;
   maskrec **u = (c) ? &c->bans : &global_bans;
- 
+
   if (!strchr(who, '!') && (j = atoi(who))) {
     j--;
     for (; (*u) && j; u = &((*u)->next), j--);
@@ -294,7 +294,7 @@
   int j, i = 0;
   maskrec *t;
   maskrec **u = c ? &(c->exempts) : &global_exempts;
-  
+
   if (!strchr(who,'!') && (j = atoi(who))) {
     j--;
     for (;(*u) && j;u=&((*u)->next),j--);
@@ -305,7 +305,7 @@
       return -j-1;
   } else {
     /* Find matching host, if there is one */
-    for (;*u && !i;u=&((*u)->next)) 
+    for (;*u && !i;u=&((*u)->next))
       if (!rfc_casecmp((*u)->mask,who)) {
 	i = 1;
 	break;
@@ -321,7 +321,7 @@
 	/* Distribute chan exempts differently */
 	if (c)
 	  shareout(c, "-ec %s %s\n", c->dname, mask);
-	else 
+	else
 	  shareout(NULL, "-e %s\n", mask);
 	nfree(mask);
       }
@@ -345,7 +345,7 @@
   int j, i = 0;
   maskrec *t;
   maskrec **u = c ? &(c->invites) : &global_invites;
-  
+
   if (!strchr(who,'!') && (j = atoi(who))) {
     j--;
     for (;(*u) && j;u=&((*u)->next),j--);
@@ -372,7 +372,7 @@
 	/* Distribute chan invites differently */
 	if (c)
 	  shareout(c, "-invc %s %s\n", c->dname, mask);
-	else 
+	else
 	  shareout(NULL, "-inv %s\n", mask);
 	nfree(mask);
       }
@@ -476,7 +476,7 @@
   char host[1024], s[1024];
   maskrec *p, **u = chan ? &chan->invites : &global_invites;
   module_entry *me;
-  
+
   strcpy(host, invite);
   /* Choke check: fix broken invites (must have '!' and '@') */
   if ((strchr(host, '!') == NULL) && (strchr(host, '@') == NULL))
@@ -495,7 +495,7 @@
 		   me->funcs[SERVER_BOTUSERHOST]);
   else
     simple_sprintf(s, "%s!%s@%s", origbotname, botuser, hostname);
-  
+
   if (u_equals_mask(*u, host))
     u_delinvite(chan, host,1);	/* Remove old invite */
   /* It shouldn't expire and be sticky also */
@@ -529,7 +529,7 @@
 	shareout(NULL, "+inv %s %lu %s%s %s %s\n", mask, expire_time - now,
 		 (flags & MASKREC_STICKY) ? "s" : "",
 		 (flags & MASKREC_PERM) ? "p": "-", from, note);
-      else 
+      else
 	shareout(chan, "+invc %s %lu %s %s%s %s %s\n", mask, expire_time - now,
 		 chan->dname, (flags & MASKREC_STICKY) ? "s" : "",
 		 (flags & MASKREC_PERM) ? "p": "-", from, note);
@@ -547,7 +547,7 @@
   char host[1024], s[1024];
   maskrec *p, **u = chan ? &chan->exempts : &global_exempts;
   module_entry *me;
-  
+
   strcpy(host, exempt);
   /* Choke check: fix broken exempts (must have '!' and '@') */
   if ((strchr(host, '!') == NULL) && (strchr(host, '@') == NULL))
@@ -566,7 +566,7 @@
 		   me->funcs[SERVER_BOTUSERHOST]);
   else
     simple_sprintf(s, "%s!%s@%s", origbotname, botuser, hostname);
-  
+
   if (u_equals_mask(*u, host))
     u_delexempt(chan, host,1);	/* Remove old exempt */
   /* It shouldn't expire and be sticky also */
@@ -600,7 +600,7 @@
 	shareout(NULL, "+e %s %lu %s%s %s %s\n", mask, expire_time - now,
 		 (flags & MASKREC_STICKY) ? "s" : "",
 		 (flags & MASKREC_PERM) ? "p": "-", from, note);
-      else 
+      else
 	shareout(chan, "+ec %s %lu %s %s%s %s %s\n", mask, expire_time - now,
 		 chan->dname, (flags & MASKREC_STICKY) ? "s" : "",
 		 (flags & MASKREC_PERM) ? "p": "-", from, note);
@@ -664,7 +664,7 @@
 			   struct chanset_t *chan, int show_inact)
 {
   char dates[81], s[41];
-  
+
   if (exempt->added) {
     daysago(now, exempt->added, s);
     sprintf(dates, "%s %s", MODES_CREATED, s);
@@ -699,20 +699,20 @@
     } else {
       dprintf(idx, "EXEMPT (%s): %s %s\n", MODES_INACTIVE, exempt->mask, s);
     }
-  } else 
+  } else
     return;
   dprintf(idx, "        %s: %s\n", exempt->user, exempt->desc);
   if (dates[0])
     dprintf(idx, "        %s\n", dates);
 }
- 
+
 /* Take host entry from invite list and display it ban-style.
  */
 static void display_invite (int idx, int number, maskrec *invite,
 			    struct chanset_t *chan, int show_inact)
 {
   char dates[81], s[41];
-  
+
   if (invite->added) {
     daysago(now, invite->added, s);
     sprintf(dates, "%s %s", MODES_CREATED, s);
@@ -747,7 +747,7 @@
     } else {
       dprintf(idx, "INVITE (%s): %s %s\n", MODES_INACTIVE, invite->mask, s);
     }
-  } else 
+  } else
     return;
   dprintf(idx, "        %s: %s\n", invite->user, invite->desc);
   if (dates[0])
@@ -851,7 +851,7 @@
   char *chname;
   struct chanset_t *chan = NULL;
   maskrec *u;
-  
+
   /* Was a channel given? */
   if (match[0]) {
     chname = newsplit(&match);
@@ -866,9 +866,9 @@
   }
   if (!chan && !(chan = findchan_by_dname(dcc[idx].u.chat->con_chan))
       && !(chan = chanset))
-    return;	 
+    return;
   if (show_inact)
-    dprintf(idx, "%s:   (! = %s %s)\n", EXEMPTS_GLOBAL, 
+    dprintf(idx, "%s:   (! = %s %s)\n", EXEMPTS_GLOBAL,
 	    MODES_NOTACTIVE, chan->dname);
   else
     dprintf(idx, "%s:\n", EXEMPTS_GLOBAL);
@@ -884,12 +884,12 @@
   }
   if (show_inact)
     dprintf(idx, "%s %s:   (! = %s, * = %s)\n",
-	    EXEMPTS_BYCHANNEL, chan->dname, 
+	    EXEMPTS_BYCHANNEL, chan->dname,
 	    MODES_NOTACTIVE2,
 	    MODES_NOTBYBOT);
   else
     dprintf(idx, "%s %s:  (* = %s)\n",
-	    EXEMPTS_BYCHANNEL, chan->dname, 
+	    EXEMPTS_BYCHANNEL, chan->dname,
 	    MODES_NOTBYBOT);
   for (u = chan->exempts; u; u = u->next) {
     if (match[0]) {
@@ -943,7 +943,7 @@
   char *chname;
   struct chanset_t *chan = NULL;
   maskrec *u;
-  
+
   /* Was a channel given? */
   if (match[0]) {
     chname = newsplit(&match);
@@ -958,9 +958,9 @@
   }
   if (!chan && !(chan = findchan_by_dname(dcc[idx].u.chat->con_chan))
       && !(chan = chanset))
-    return;	 
+    return;
   if (show_inact)
-    dprintf(idx, "%s:   (! = %s %s)\n", INVITES_GLOBAL, 
+    dprintf(idx, "%s:   (! = %s %s)\n", INVITES_GLOBAL,
 	    MODES_NOTACTIVE, chan->dname);
   else
     dprintf(idx, "%s:\n", INVITES_GLOBAL);
@@ -976,12 +976,12 @@
   }
   if (show_inact)
     dprintf(idx, "%s %s:   (! = %s, * = %s)\n",
-	    INVITES_BYCHANNEL, chan->dname, 
+	    INVITES_BYCHANNEL, chan->dname,
 	    MODES_NOTACTIVE2,
 	    MODES_NOTBYBOT);
   else
     dprintf(idx, "%s %s:  (* = %s)\n",
-	    INVITES_BYCHANNEL, chan->dname, 
+	    INVITES_BYCHANNEL, chan->dname,
 	    MODES_NOTBYBOT);
   for (u = chan->invites; u; u = u->next) {
     if (match[0]) {
@@ -1108,7 +1108,7 @@
   struct chanset_t *chan;
   maskrec *e;
   char	*mask;
-  
+
   if (global_exempts)
     if (fprintf(f, EXEMPT_NAME " - -\n") == EOF) /* Daemus */
       return 0;
@@ -1126,7 +1126,7 @@
     }
     nfree(mask);
   }
-  for (chan = chanset;chan;chan=chan->next) 
+  for (chan = chanset;chan;chan=chan->next)
     if ((idx < 0) || (chan->status & CHAN_SHARED)) {
       struct flag_record fr = {FR_CHAN | FR_GLOBAL | FR_BOT, 0, 0, 0, 0, 0};
 
@@ -1163,7 +1163,7 @@
   struct chanset_t *chan;
   maskrec *ir;
   char	*mask;
-  
+
   if (global_invites)
     if (fprintf(f, INVITE_NAME " - -\n") == EOF) /* Daemus */
       return 0;
@@ -1181,7 +1181,7 @@
     }
     nfree(mask);
   }
-  for (chan = chanset; chan; chan = chan->next) 
+  for (chan = chanset; chan; chan = chan->next)
     if ((idx < 0) || (chan->status & CHAN_SHARED)) {
       struct flag_record fr = {FR_CHAN | FR_GLOBAL | FR_BOT, 0, 0, 0, 0, 0};
 
@@ -1246,7 +1246,7 @@
   char			 buf[UHOSTLEN], *snick, *sfrom;
   struct userrec	*u;
 
-  /* Always expire masks, regardless of who set it? */ 
+  /* Always expire masks, regardless of who set it? */
   if (force_expire)
     return 1;
 
@@ -1339,7 +1339,7 @@
   struct chanset_t *chan;
   masklist *b, *e;
   int match;
-  
+
   if (!use_exempts)
     return;
   u = global_exempts;
Index: eggdrop1.6/src/mod/compress.mod/compress.c
diff -u eggdrop1.6/src/mod/compress.mod/compress.c:1.8 eggdrop1.6/src/mod/compress.mod/compress.c:1.9
--- eggdrop1.6/src/mod/compress.mod/compress.c:1.8	Tue Jan 16 11:13:21 2001
+++ eggdrop1.6/src/mod/compress.mod/compress.c	Wed Apr 11 21:39:45 2001
@@ -1,26 +1,26 @@
-/* 
+/*
  * compress.c -- part of compress.mod
  *   uses the compression library libz to compress and uncompress the
  *   userfiles during the sharing process
- * 
+ *
  * Written by Fabian Knittel <fknittel at gmx.de>. Based on zlib examples
  * by Jean-loup Gailly and Miguel Albrecht.
- * 
- * $Id: compress.c,v 1.8 2001/01/16 17:13:21 guppy Exp $
+ *
+ * $Id: compress.c,v 1.9 2001/04/12 02:39:45 guppy Exp $
  */
-/* 
- * Copyright (C) 2000  Eggheads
- * 
+/*
+ * Copyright (C) 2000, 2001 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.
@@ -257,7 +257,7 @@
     fout = gzopen(f_target, mode);
   }
 #endif /* HAVE_MMAP */
-    
+
   while (1) {
     len = fread(buf, 1, sizeof(buf), fin);
     if (ferror(fin)) {
@@ -365,7 +365,7 @@
   {NULL,	0,		NULL,		    0,	   NULL,       NULL}
 };
 
-/* 
+/*
  *    Compress module related code
  */
 
Index: eggdrop1.6/src/mod/compress.mod/compress.h
diff -u eggdrop1.6/src/mod/compress.mod/compress.h:1.3 eggdrop1.6/src/mod/compress.mod/compress.h:1.4
--- eggdrop1.6/src/mod/compress.mod/compress.h:1.3	Wed Apr  5 14:51:54 2000
+++ eggdrop1.6/src/mod/compress.mod/compress.h	Wed Apr 11 21:39:45 2001
@@ -2,21 +2,21 @@
  * compress.h -- part of src/mod/compress.mod
  *   header file for the zlib compression module
  *
- * $Id: compress.h,v 1.3 2000/04/05 19:51:54 fabian Exp $
+ * $Id: compress.h,v 1.4 2001/04/12 02:39:45 guppy Exp $
  */
-/* 
- * Copyright (C) 2000  Eggheads
- * 
+/*
+ * Copyright (C) 2000, 2001 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.
Index: eggdrop1.6/src/mod/compress.mod/tclcompress.c
diff -u eggdrop1.6/src/mod/compress.mod/tclcompress.c:1.3 eggdrop1.6/src/mod/compress.mod/tclcompress.c:1.4
--- eggdrop1.6/src/mod/compress.mod/tclcompress.c:1.3	Wed Apr  5 14:51:54 2000
+++ eggdrop1.6/src/mod/compress.mod/tclcompress.c	Wed Apr 11 21:39:45 2001
@@ -1,24 +1,24 @@
 /*
  * tclcompress.c -- part of compress.mod
  *   contains all tcl functions
- * 
+ *
  * Written by Fabian Knittel <fknittel at gmx.de>
- * 
- * $Id: tclcompress.c,v 1.3 2000/04/05 19:51:54 fabian Exp $
+ *
+ * $Id: tclcompress.c,v 1.4 2001/04/12 02:39:45 guppy Exp $
  */
-/* 
- * Copyright (C) 2000  Eggheads
- * 
+/*
+ * Copyright (C) 2000, 2001 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.
@@ -78,7 +78,7 @@
 static int tcl_uncompress_file STDVAR
 {
   int	 result;
- 
+
   BADARGS(2, 3, " src-file ?target-file?");
   if (argc == 2)
     result = uncompress_file(argv[1]);
Index: eggdrop1.6/src/mod/console.mod/console.c
diff -u eggdrop1.6/src/mod/console.mod/console.c:1.18 eggdrop1.6/src/mod/console.mod/console.c:1.19
--- eggdrop1.6/src/mod/console.mod/console.c:1.18	Tue Jan 16 11:13:22 2001
+++ eggdrop1.6/src/mod/console.mod/console.c	Wed Apr 11 21:39:45 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * console.c -- part of console.mod
  *   saved console settings based on console.tcl
  *   by cmwagner/billyjoe/D. Senso
- * 
- * $Id: console.c,v 1.18 2001/01/16 17:13:22 guppy Exp $
+ *
+ * $Id: console.c,v 1.19 2001/04/12 02:39:45 guppy Exp $
  */
-/* 
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/mod/console.mod/console.h
diff -u eggdrop1.6/src/mod/console.mod/console.h:1.1 eggdrop1.6/src/mod/console.mod/console.h:1.2
--- eggdrop1.6/src/mod/console.mod/console.h:1.1	Sat Sep 23 12:45:23 2000
+++ eggdrop1.6/src/mod/console.mod/console.h	Wed Apr 11 21:39:45 2001
@@ -1,10 +1,10 @@
 /*
  * console.h -- part of console.mod
  *
- * $Id: console.h,v 1.1 2000/09/23 17:45:23 fabian Exp $
+ * $Id: console.h,v 1.2 2001/04/12 02:39:45 guppy Exp $
  */
 /*
- * Copyright (C) 2000  Eggheads
+ * Copyright (C) 2000, 2001 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
Index: eggdrop1.6/src/mod/ctcp.mod/ctcp.c
diff -u eggdrop1.6/src/mod/ctcp.mod/ctcp.c:1.11 eggdrop1.6/src/mod/ctcp.mod/ctcp.c:1.12
--- eggdrop1.6/src/mod/ctcp.mod/ctcp.c:1.11	Tue Jan 16 11:13:22 2001
+++ eggdrop1.6/src/mod/ctcp.mod/ctcp.c	Wed Apr 11 21:39:45 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * ctcp.c -- part of ctcp.mod
  *   all the ctcp handling (except DCC, it's special ;)
- * 
- * $Id: ctcp.c,v 1.11 2001/01/16 17:13:22 guppy Exp $
+ *
+ * $Id: ctcp.c,v 1.12 2001/04/12 02:39:45 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -61,7 +61,7 @@
   struct userrec *u = get_user_by_handle(userlist, handle);
   int atr = u ? u->flags : 0;
 
-  if ((ctcp_mode != 1 || (atr & USER_OP)) && strlen(text) <= 80) 
+  if ((ctcp_mode != 1 || (atr & USER_OP)) && strlen(text) <= 80)
       simple_sprintf(ctcp_reply, "%s\001%s %s\001", ctcp_reply, keyword, text);
   return 1;
 }
@@ -159,7 +159,7 @@
         return 1;
       }
     }
-    simple_sprintf(ctcp_reply, "%s\001ERROR no telnet port\001", 
+    simple_sprintf(ctcp_reply, "%s\001ERROR no telnet port\001",
                    ctcp_reply);
   }
   return 1;
Index: eggdrop1.6/src/mod/ctcp.mod/ctcp.h
diff -u eggdrop1.6/src/mod/ctcp.mod/ctcp.h:1.3 eggdrop1.6/src/mod/ctcp.mod/ctcp.h:1.4
--- eggdrop1.6/src/mod/ctcp.mod/ctcp.h:1.3	Mon Jan 17 16:36:08 2000
+++ eggdrop1.6/src/mod/ctcp.mod/ctcp.h	Wed Apr 11 21:39:45 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * ctcp.h -- part of ctcp.mod
  *   all the defines for ctcp.c
- * 
- * $Id: ctcp.h,v 1.3 2000/01/17 22:36:08 fabian Exp $
+ *
+ * $Id: ctcp.h,v 1.4 2001/04/12 02:39:45 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/mod/dns.mod/coredns.c
diff -u eggdrop1.6/src/mod/dns.mod/coredns.c:1.18 eggdrop1.6/src/mod/dns.mod/coredns.c:1.19
--- eggdrop1.6/src/mod/dns.mod/coredns.c:1.18	Tue Jan 16 11:13:22 2001
+++ eggdrop1.6/src/mod/dns.mod/coredns.c	Wed Apr 11 21:39:46 2001
@@ -1,35 +1,35 @@
-/* 
+/*
  * dnscore.c -- part of dns.mod
  *   This file contains all core functions needed for the eggdrop dns module.
  *   Many of them are only minimaly modified from the original source.
- * 
+ *
  * Modified/written by Fabian Knittel <fknittel at gmx.de>
- * 
- * $Id: coredns.c,v 1.18 2001/01/16 17:13:22 guppy Exp $
+ *
+ * $Id: coredns.c,v 1.19 2001/04/12 02:39:46 guppy Exp $
  */
-/* 
- * Portions copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Portions Copyright (C) 1999, 2000, 2001 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.
  */
 
-/* 
+/*
  * Borrowed from mtr  --  a network diagnostic tool
  * Copyright (C) 1997,1998  Matt Kimball <mkimball at xmission.com>
  * Released under the GPL, as above.
- * 
+ *
  * Non-blocking DNS portion --
  * Copyright (C) 1998  Simon Kirby <sim at neato.org>
  * Released under the GPL, as above.
@@ -141,7 +141,7 @@
 #define HFIXEDSZ (sizeof(packetheader))
 #endif
 
-/* 
+/*
  * Byte order independent macros for packetheader
  */
 #define getheader_rd(x) (x->databyte_a & 1)
@@ -186,7 +186,7 @@
 static const char nullstring[] = "";
 
 
-/* 
+/*
  *    Miscellaneous helper functions
  */
 
@@ -234,7 +234,7 @@
 }
 
 
-/* 
+/*
  *    Hash and linked-list related functions
  */
 
@@ -557,7 +557,7 @@
 }
 
 
-/* 
+/*
  *    Network and resolver related functions
  */
 
@@ -592,7 +592,7 @@
     rp->expiretime = now + (RES_RETRYDELAY * rp->sends);
     /* Add (back) to expire list */
     linkresolve(rp);
- 
+
     if (type == T_A) {
 	dorequest(rp->hostn, type, rp->id);
 	ddebug1(RES_MSG "Sent domain lookup request for \"%s\".",
@@ -685,7 +685,7 @@
     }
     hp = (packetheader *) s;
     /* Convert data to host byte order
-     * 
+     *
      * hp->id does not need to be redundantly byte-order flipped, it
      * is only echoed by nameserver
      */
@@ -1006,7 +1006,7 @@
 static void dns_lookup(IP ip)
 {
     struct resolve *rp;
-    
+
     ip = htonl(ip);
     if ((rp = findip(ip))) {
 	if (rp->state == STATE_FINISHED || rp->state == STATE_FAILED) {
@@ -1038,7 +1038,7 @@
     struct resolve *rp;
     struct in_addr inaddr;
 
-    /* Check if someone passed us an IP address as hostname 
+    /* Check if someone passed us an IP address as hostname
      * and return it straight away.
      */
     if (egg_inet_aton(hostn, &inaddr)) {
@@ -1092,7 +1092,7 @@
 	killsock(resfd);
 	return 0;
     }
-    
+
     egg_inet_aton("127.0.0.1", &inaddr);
     localhost = inaddr.s_addr;
     return 1;
Index: eggdrop1.6/src/mod/dns.mod/dns.c
diff -u eggdrop1.6/src/mod/dns.mod/dns.c:1.21 eggdrop1.6/src/mod/dns.mod/dns.c:1.22
--- eggdrop1.6/src/mod/dns.mod/dns.c:1.21	Tue Jan 16 11:13:22 2001
+++ eggdrop1.6/src/mod/dns.mod/dns.c	Wed Apr 11 21:39:46 2001
@@ -1,24 +1,24 @@
-/* 
+/*
  * dns.c -- part of dns.mod
  *   domain lookup glue code for eggdrop
- * 
+ *
  * Written by Fabian Knittel <fknittel at gmx.de>
- * 
- * $Id: dns.c,v 1.21 2001/01/16 17:13:22 guppy Exp $
+ *
+ * $Id: dns.c,v 1.22 2001/04/12 02:39:46 guppy Exp $
  */
-/* 
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -38,7 +38,7 @@
 #include "coredns.c"
 
 
-/* 
+/*
  *    DNS event related code
  */
 
@@ -77,7 +77,7 @@
 }
 
 
-/* 
+/*
  *    DNS Socket related code
  */
 
@@ -119,7 +119,7 @@
 };
 
 
-/* 
+/*
  *    DNS module related code
  */
 
@@ -132,7 +132,7 @@
     if (rp->hostn)
       nfree(rp->hostn);
     nfree(rp);
-  } 
+  }
   expireresolves = NULL;
 }
 
@@ -145,7 +145,7 @@
     size += sizeof(struct resolve);
     if (rp->hostn)
       size += strlen(rp->hostn) + 1;
-  } 
+  }
   return size;
 }
 
@@ -199,7 +199,7 @@
 char *dns_start(Function *global_funcs)
 {
   int idx;
-  
+
   global = global_funcs;
   module_register(MODULE_NAME, dns_table, 1, 0);
   if (!module_depend(MODULE_NAME, "eggdrop", 106, 0)) {
Index: eggdrop1.6/src/mod/dns.mod/dns.h
diff -u eggdrop1.6/src/mod/dns.mod/dns.h:1.7 eggdrop1.6/src/mod/dns.mod/dns.h:1.8
--- eggdrop1.6/src/mod/dns.mod/dns.h:1.7	Sat Sep  9 06:39:10 2000
+++ eggdrop1.6/src/mod/dns.mod/dns.h	Wed Apr 11 21:39:46 2001
@@ -1,34 +1,34 @@
-/* 
+/*
  * dns.h -- part of dns.mod
  *   dns module header file
- * 
+ *
  * Written by Fabian Knittel <fknittel at gmx.de>
- * 
- * $Id: dns.h,v 1.7 2000/09/09 11:39:10 fabian Exp $
+ *
+ * $Id: dns.h,v 1.8 2001/04/12 02:39:46 guppy Exp $
  */
-/* 
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1999, 2000, 2001 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.
  */
 
-/* 
+/*
  * Borrowed from mtr  --  a network diagnostic tool
  * Copyright (C) 1997,1998  Matt Kimball <mkimball at xmission.com>
  * Released under GPL, as above.
- * 
+ *
  * Non-blocking DNS portion --
  * Copyright (C) 1998  Simon Kirby <sim at neato.org>
  * Released under GPL, as above.
Index: eggdrop1.6/src/mod/eggautoconf
diff -u eggdrop1.6/src/mod/eggautoconf:1.2 eggdrop1.6/src/mod/eggautoconf:1.3
--- eggdrop1.6/src/mod/eggautoconf:1.2	Mon Mar  6 12:54:08 2000
+++ eggdrop1.6/src/mod/eggautoconf	Wed Apr 11 21:39:44 2001
@@ -4,9 +4,9 @@
 #                GNU autoconf scripts with the help of special eggdrop
 #                m4 macros.
 #
-# $Id: eggautoconf,v 1.2 2000/03/06 18:54:08 fabian Exp $
+# $Id: eggautoconf,v 1.3 2001/04/12 02:39:44 guppy Exp $
 #
-# Copyright (C) 2000  Eggheads
+# Copyright (C) 2000, 2001 Eggheads Development Team
 # Written by Fabian Knittel
 
 set -e
Index: eggdrop1.6/src/mod/filesys.mod/dbcompat.c
diff -u eggdrop1.6/src/mod/filesys.mod/dbcompat.c:1.9 eggdrop1.6/src/mod/filesys.mod/dbcompat.c:1.10
--- eggdrop1.6/src/mod/filesys.mod/dbcompat.c:1.9	Tue Jan 16 11:13:22 2001
+++ eggdrop1.6/src/mod/filesys.mod/dbcompat.c	Wed Apr 11 21:39:46 2001
@@ -1,40 +1,40 @@
-/* 
+/*
  * dbcompat.c -- part of filesys.mod
  *   Compability functions to convert older DBs to the newest version.
- * 
+ *
  * Written for filedb3 by Fabian Knittel <fknittel at gmx.de>
- * 
- * $Id: dbcompat.c,v 1.9 2001/01/16 17:13:22 guppy Exp $
+ *
+ * $Id: dbcompat.c,v 1.10 2001/04/12 02:39:46 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
  */
- 
+
 /* Convert '.files' db to newest db. Returns 1 if a valid file is
  * found and could be converted, 0 in all other cases.
- * 
+ *
  * '.files' is a text file which contains file records built up in the
  * following way:
  *      '<filename> <nick> <tm> <gots>\n'
  *      '- <comment>\n'
  *      '- <comment>\n'
  *      ...
- */ 
+ */
 static int convert_old_files(char *path, char *newfiledb)
 {
   FILE *f, *fdb;
@@ -221,12 +221,12 @@
 /* Converts old versions of the filedb to the newest. Returns 1 if all went
  * well and otherwise 0. The new db is first written to a temporary place
  * and then moved over to the original db's position.
- * 
+ *
  * Note: Unfortunately there is a small time-frame where aren't locking the
  *       DB, but want to replace it with a new one, using movefile().
  *       TODO: Copy old db to tmp file and then build the new db directly
  *             in the original file. This solves the tiny locking problem.
- * 
+ *
  * Also remember to check the returned *fdb_s on failure, as it could be
  * NULL.
  */
Index: eggdrop1.6/src/mod/filesys.mod/dbcompat.h
diff -u eggdrop1.6/src/mod/filesys.mod/dbcompat.h:1.4 eggdrop1.6/src/mod/filesys.mod/dbcompat.h:1.5
--- eggdrop1.6/src/mod/filesys.mod/dbcompat.h:1.4	Mon Jan 17 16:36:08 2000
+++ eggdrop1.6/src/mod/filesys.mod/dbcompat.h	Wed Apr 11 21:39:46 2001
@@ -1,25 +1,25 @@
-/* 
+/*
  * dbcompat.h -- part of filesys.mod
  *   this header file contains old db formats which are
  *   needed or converting old dbs to the new format.
- * 
+ *
  * Written for filedb3 by Fabian Knittel <fknittel at gmx.de>
- * 
- * $Id: dbcompat.h,v 1.4 2000/01/17 22:36:08 fabian Exp $
+ *
+ * $Id: dbcompat.h,v 1.5 2001/04/12 02:39:46 guppy Exp $
  */
-/* 
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -28,7 +28,7 @@
 #ifndef _EGG_MOD_FILESYS_DBCOMPAT_H
 #define _EGG_MOD_FILESYS_DBCOMPAT_H
 
-/* 
+/*
  *    DB entry structures for v1 and v2
  */
 
@@ -79,7 +79,7 @@
   char			unused[512 - sizeof(struct filler2)];
 } filedb2;
 
-/* 
+/*
  *    Prototypes
  */
 
Index: eggdrop1.6/src/mod/filesys.mod/filedb3.c
diff -u eggdrop1.6/src/mod/filesys.mod/filedb3.c:1.17 eggdrop1.6/src/mod/filesys.mod/filedb3.c:1.18
--- eggdrop1.6/src/mod/filesys.mod/filedb3.c:1.17	Tue Jan 16 11:13:22 2001
+++ eggdrop1.6/src/mod/filesys.mod/filedb3.c	Wed Apr 11 21:39:46 2001
@@ -1,32 +1,32 @@
-/* 
+/*
  * filedb3.c -- part of filesys.mod
  *   low level functions for file db handling
- * 
+ *
  * Rewritten by Fabian Knittel <fknittel at gmx.de>
- * 
- * $Id: filedb3.c,v 1.17 2001/01/16 17:13:22 guppy Exp $
+ *
+ * $Id: filedb3.c,v 1.18 2001/04/12 02:39:46 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
  */
 
 /*  filedb structure:
- * 
+ *
  *  +---------------+                           _
  *  | filedb_top    |                           _|  DB header
  *  |---------------|
@@ -53,11 +53,11 @@
  *  | ...           |
  *  .               .
  *  .               .
- * 
+ *
  *  To know how long the complete entry is, you need to read out the
  *  header first. This concept allows us to have unlimited filename
  *  lengths, unlimited description lengths, etc.
- * 
+ *
  *  Buffer is an area which doesn't contain any information and which
  *  is just skipped. It only serves as a placeholder to allow entries
  *  which shrink in size to maintain their position without messing up
@@ -70,7 +70,7 @@
 static int count = 0;
 
 
-/* 
+/*
  *   Memory management helper functions
  */
 
@@ -100,7 +100,7 @@
 static filedb_entry *_malloc_fdbe(char *file, int line)
 {
   filedb_entry *fdbe = NULL;
-  
+
 #ifdef EBUG_MEM
   /* This is a hack to access the nmalloc function with
    * special file and line information
@@ -117,7 +117,7 @@
 }
 
 
-/* 
+/*
  *  File locking
  */
 
@@ -149,7 +149,7 @@
 }
 
 
-/* 
+/*
  *   filedb functions
  */
 
@@ -191,7 +191,7 @@
     return 0;
   fread(&fdh, 1, sizeof(filedb_header), fdb);	/* Read header		*/
   fdh.stat = FILE_UNUSED;
-  
+
   /* Assign all available space to buffer. Simplifies
    * space calculation later on.
    */
@@ -205,13 +205,13 @@
 
 /* Searches for a suitable place to write an entry which uses tot
  * bytes for dynamic data.
- * 
+ *
  *  * If there is no such existing entry, it just points to the
  *    end of the DB.
  *  * If it finds an empty entry and it has enough space to fit
  *    in another entry, we split it up and only use the space we
  *    really need.
- * 
+ *
  * Note: We can assume that empty entries' dyn_lengths are zero.
  *       Therefore we only need to check buf_len.
  */
@@ -231,7 +231,7 @@
       if (fdbe->buf_len > (tot + sizeof(filedb_header) + FILEDB_ESTDYN)) {
 	filedb_entry *fdbe_oe;
 
-	/* Create new entry containing the additional space */ 
+	/* Create new entry containing the additional space */
 	fdbe_oe = malloc_fdbe();
 	fdbe_oe->stat = FILE_UNUSED;
 	fdbe_oe->pos = fdbe->pos + sizeof(filedb_header) + tot;
@@ -243,8 +243,8 @@
 	 * entry.
 	 */
 	fdbe->buf_len = tot;
-      } 
-      return fdbe;		
+      }
+      return fdbe;
     }
     free_fdbe(&fdbe);
     fdbe = filedb_getfile(fdb, ftell(fdb), GET_HEADER);
@@ -258,16 +258,16 @@
 }
 
 /* Updates or creates entries and information in the filedb.
- * 
+ *
  *   * If the new entry is the same size or smaller than the original
  *     one, we use the old position and just adjust the buffer length
  *     apropriately.
  *   * If the entry is completely _new_ or if the entry's new size is
  *     _bigger_ than the old one, we search for a new position which
  *     suits our needs.
- * 
+ *
  * Note that the available space also includes the buffer.
- * 
+ *
  * The file pointer will _always_ position directly after the updated
  * entry.
  */
@@ -632,7 +632,7 @@
 }
 
 /* Updates the specified filedb in several ways:
- * 
+ *
  * 1. Adds all new files from the directory to the db.
  * 2. Removes all stale entries from the db.
  * 3. Optimises the db.
@@ -646,7 +646,7 @@
   long where = 0;
   char *name = NULL, *s = NULL;
 
-  /* 
+  /*
    * FIRST: make sure every real file is in the database
    */
   dir = opendir(path);
@@ -687,7 +687,7 @@
     my_free(name);
   closedir(dir);
 
-  /* 
+  /*
    * SECOND: make sure every db file is real
    */
   filedb_readtop(fdb, NULL);
@@ -707,9 +707,9 @@
     fdbe = filedb_getfile(fdb, where, GET_FILENAME);
   }
 
-  /* 
+  /*
    * THIRD: optimise database
-   * 
+   *
    * Instead of sorting, we only clean up the db, because sorting is now
    * done on-the-fly when we display the file list.
    */
@@ -751,7 +751,7 @@
   /* Use alternate filename if requested */
   if (filedb_path[0]) {
     char *s2;
- 
+
     s2 = make_point_path(path);
     s = nmalloc(strlen(filedb_path) + strlen(s2) + 8);
     simple_sprintf(s, "%sfiledb.%s", filedb_path, s2);
@@ -797,7 +797,7 @@
       return fdb;
     }
   }
-  
+
   lockfile(fdb);			/* Lock it from other bots */
   filedb_readtop(fdb, &fdbt);
   if (fdbt.version < FILEDB_NEWEST_VER) {
@@ -989,7 +989,7 @@
 	  *p = 0;
 	  if ((fdbe->desc)[0]) {
 	    char *sd;
-	   
+
 	    sd = nmalloc(strlen(fdbe->desc) + 5);
 	    sprintf(sd, "   %s\n", fdbe->desc);
 	    filelist_addout(flist, sd);
@@ -1000,7 +1000,7 @@
 	}
 	if ((fdbe->desc)[0]) {
 	  char *sd;
-	   
+
 	  sd = nmalloc(strlen(fdbe->desc) + 5);
 	  sprintf(sd, "   %s\n", fdbe->desc);
 	  filelist_addout(flist, sd);
Index: eggdrop1.6/src/mod/filesys.mod/filedb3.h
diff -u eggdrop1.6/src/mod/filesys.mod/filedb3.h:1.9 eggdrop1.6/src/mod/filesys.mod/filedb3.h:1.10
--- eggdrop1.6/src/mod/filesys.mod/filedb3.h:1.9	Fri Oct 27 14:39:30 2000
+++ eggdrop1.6/src/mod/filesys.mod/filedb3.h	Wed Apr 11 21:39:46 2001
@@ -1,24 +1,24 @@
-/* 
+/*
  * filedb3.h -- part of filesys.mod
  *   filedb header file
- * 
+ *
  * Written by Fabian Knittel <fknittel at gmx.de>
- * 
- * $Id: filedb3.h,v 1.9 2000/10/27 19:39:30 fabian Exp $
+ *
+ * $Id: filedb3.h,v 1.10 2001/04/12 02:39:46 guppy Exp $
  */
-/* 
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -78,7 +78,7 @@
 } filedb_entry;
 
 
-/* 
+/*
  *   Macros
  */
 
@@ -124,7 +124,7 @@
 #define filedb_movefile(fdb, pos, fdbe) _filedb_movefile(fdb, pos, fdbe, __FILE__, __LINE__)
 
 
-/* 
+/*
  *  Constants
  */
 
@@ -158,7 +158,7 @@
 };
 
 
-/* 
+/*
  *  filedb3.c prototypes
  */
 
Index: eggdrop1.6/src/mod/filesys.mod/filelist.c
diff -u eggdrop1.6/src/mod/filesys.mod/filelist.c:1.8 eggdrop1.6/src/mod/filesys.mod/filelist.c:1.9
--- eggdrop1.6/src/mod/filesys.mod/filelist.c:1.8	Tue Jan 16 11:13:22 2001
+++ eggdrop1.6/src/mod/filesys.mod/filelist.c	Wed Apr 11 21:39:46 2001
@@ -1,24 +1,24 @@
-/* 
+/*
  * filelist.c -- part of filesys.mod
  *   functions to sort and manage file lists
- * 
+ *
  * Written by Fabian Knittel <fknittel at gmx.de>
- * 
- * $Id: filelist.c,v 1.8 2001/01/16 17:13:22 guppy Exp $
+ *
+ * $Id: filelist.c,v 1.9 2001/04/12 02:39:46 guppy Exp $
  */
-/* 
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -30,7 +30,7 @@
 {
   filelist_t *flist;
 
-  flist = nmalloc(sizeof(filelist_t)); 
+  flist = nmalloc(sizeof(filelist_t));
   flist->tot = 0;
   flist->elements = NULL;
   return flist;
Index: eggdrop1.6/src/mod/filesys.mod/filelist.h
diff -u eggdrop1.6/src/mod/filesys.mod/filelist.h:1.4 eggdrop1.6/src/mod/filesys.mod/filelist.h:1.5
--- eggdrop1.6/src/mod/filesys.mod/filelist.h:1.4	Mon Jan 17 16:36:08 2000
+++ eggdrop1.6/src/mod/filesys.mod/filelist.h	Wed Apr 11 21:39:46 2001
@@ -1,24 +1,24 @@
-/* 
+/*
  * filelist.h -- part of filesys.mod
  *   header file for filelist.c
- * 
+ *
  * Written by Fabian Knittel <fknittel at gmx.de>
- * 
- * $Id: filelist.h,v 1.4 2000/01/17 22:36:08 fabian Exp $
+ *
+ * $Id: filelist.h,v 1.5 2001/04/12 02:39:46 guppy Exp $
  */
-/* 
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/mod/filesys.mod/files.c
diff -u eggdrop1.6/src/mod/filesys.mod/files.c:1.27 eggdrop1.6/src/mod/filesys.mod/files.c:1.28
--- eggdrop1.6/src/mod/filesys.mod/files.c:1.27	Tue Jan 16 11:13:22 2001
+++ eggdrop1.6/src/mod/filesys.mod/files.c	Wed Apr 11 21:39:46 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * files.c - part of filesys.mod
  *   handles all file system commands
- * 
- * $Id: files.c,v 1.27 2001/01/16 17:13:22 guppy Exp $
+ *
+ * $Id: files.c,v 1.28 2001/04/12 02:39:46 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/mod/filesys.mod/files.h
diff -u eggdrop1.6/src/mod/filesys.mod/files.h:1.5 eggdrop1.6/src/mod/filesys.mod/files.h:1.6
--- eggdrop1.6/src/mod/filesys.mod/files.h:1.5	Mon Jan 17 16:36:08 2000
+++ eggdrop1.6/src/mod/filesys.mod/files.h	Wed Apr 11 21:39:46 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * files.h -- part of filesys.mod
- * 
- * $Id: files.h,v 1.5 2000/01/17 22:36:08 fabian Exp $
+ *
+ * $Id: files.h,v 1.6 2001/04/12 02:39:46 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/mod/filesys.mod/filesys.c
diff -u eggdrop1.6/src/mod/filesys.mod/filesys.c:1.40 eggdrop1.6/src/mod/filesys.mod/filesys.c:1.41
--- eggdrop1.6/src/mod/filesys.mod/filesys.c:1.40	Mon Jan 22 17:47:33 2001
+++ eggdrop1.6/src/mod/filesys.mod/filesys.c	Wed Apr 11 21:39:46 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * filesys.c -- part of filesys.mod
  *   main file of the filesys eggdrop module
- * 
- * $Id: filesys.c,v 1.40 2001/01/22 23:47:33 guppy Exp $
+ *
+ * $Id: filesys.c,v 1.41 2001/04/12 02:39:46 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -407,7 +407,7 @@
     while ((p = strchr(p, ' ')) != NULL)
       *p = '_';
   }
-    
+
   if (egg_strcasecmp(nick, dcc[idx].nick))
     dprintf(DP_HELP, "NOTICE %s :Here is %s file from %s %s...\n", nick,
 	    resend ? "the" : "a", dcc[idx].nick, resend ? "again " : "");
@@ -468,7 +468,7 @@
     char *tempfn = mktempfile(fn);
 
     /* Copy this file to /tmp, add a random prefix to the filename. */
-    s = nrealloc(s, strlen(dccdir) + strlen(dir) + strlen(fn) + 2); 
+    s = nrealloc(s, strlen(dccdir) + strlen(dir) + strlen(fn) + 2);
     sprintf(s, "%s%s%s%s", dccdir, dir, dir[0] ? "/" : "", fn);
     s1 = nrealloc(s1, strlen(tempdir) + strlen(tempfn) + 1);
     sprintf(s1, "%s%s", tempdir, tempfn);
@@ -483,7 +483,7 @@
       return 0;
     }
   } else {
-    s1 = nrealloc(s1, strlen(dccdir) + strlen(dir) + strlen(fn) + 2); 
+    s1 = nrealloc(s1, strlen(dccdir) + strlen(dir) + strlen(fn) + 2);
     sprintf(s1, "%s%s%s%s", dccdir, dir, dir[0] ? "/" : "", fn);
   }
   s = nrealloc(s, strlen(dir) + strlen(fn) + 2);
@@ -616,7 +616,7 @@
 
 
 static void filesys_dcc_send_hostresolved(int);
-	
+
 /* Received a ctcp-dcc.
  */
 static void filesys_dcc_send(char *nick, char *from, struct userrec *u,
@@ -699,7 +699,7 @@
 /* Create a temporary filename with random elements. Shortens
  * the filename if the total string is longer than NAME_MAX.
  * The original buffer is not modified.   (Fabian)
- * 
+ *
  * Please adjust MKTEMPFILE_TOT if you change any lengths
  *   7 - size of the random string
  *   2 - size of additional characters in "%u-%s-%s" format string
Index: eggdrop1.6/src/mod/filesys.mod/filesys.h
diff -u eggdrop1.6/src/mod/filesys.mod/filesys.h:1.8 eggdrop1.6/src/mod/filesys.mod/filesys.h:1.9
--- eggdrop1.6/src/mod/filesys.mod/filesys.h:1.8	Thu Mar 23 17:17:57 2000
+++ eggdrop1.6/src/mod/filesys.mod/filesys.h	Wed Apr 11 21:39:46 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * filesysc.h -- part of filesys.mod
  *   header file for the filesys2 eggdrop module
- * 
- * $Id: filesys.h,v 1.8 2000/03/23 23:17:57 fabian Exp $
+ *
+ * $Id: filesys.h,v 1.9 2001/04/12 02:39:46 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/mod/filesys.mod/tclfiles.c
diff -u eggdrop1.6/src/mod/filesys.mod/tclfiles.c:1.11 eggdrop1.6/src/mod/filesys.mod/tclfiles.c:1.12
--- eggdrop1.6/src/mod/filesys.mod/tclfiles.c:1.11	Tue Jan 16 11:13:22 2001
+++ eggdrop1.6/src/mod/filesys.mod/tclfiles.c	Wed Apr 11 21:39:46 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * tclfiles.c -- part of filesys.mod
  *   Tcl stubs for file system commands moved here to support modules
- * 
- * $Id: tclfiles.c,v 1.11 2001/01/16 17:13:22 guppy Exp $
+ *
+ * $Id: tclfiles.c,v 1.12 2001/04/12 02:39:46 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/mod/irc.mod/chan.c
diff -u eggdrop1.6/src/mod/irc.mod/chan.c:1.63 eggdrop1.6/src/mod/irc.mod/chan.c:1.64
--- eggdrop1.6/src/mod/irc.mod/chan.c:1.63	Tue Jan 16 11:13:22 2001
+++ eggdrop1.6/src/mod/irc.mod/chan.c	Wed Apr 11 21:39:46 2001
@@ -1,27 +1,27 @@
-/* 
+/*
  * chan.c -- part of irc.mod
  *   almost everything to do with channel manipulation
  *   telling channel status
  *   'who' response
  *   user kickban, kick, op, deop
  *   idle kicking
- * 
- * $Id: chan.c,v 1.63 2001/01/16 17:13:22 guppy Exp $
+ *
+ * $Id: chan.c,v 1.64 2001/04/12 02:39:46 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -158,7 +158,7 @@
 
   if (!chan || (which < 0) || (which >= FLOOD_CHAN_MAX))
     return 0;
-  m = ismember(chan, floodnick); 
+  m = ismember(chan, floodnick);
   /* Do not punish non-existant channel members and IRC services like
    * ChanServ
    */
@@ -291,7 +291,7 @@
       if (!channel_enforcebans(chan) && me_op(chan)) {
 	  char s[UHOSTLEN];
 	  m = chan->channel.member;
-	  
+
 	  while (m && m->nick[0]) {
 	    sprintf(s, "%s!%s", m->nick, m->userhost);
 	    if (wild_match(h, s) &&
@@ -320,7 +320,7 @@
     case FLOOD_DEOP:
       if (me_op(chan) && !chan_sentkick(m)) {
 	putlog(LOG_MODES, chan->dname,
-	       CHAN_MASSDEOP, chan->dname, from); 
+	       CHAN_MASSDEOP, chan->dname, from);
 	dprintf(DP_MODE, "KICK %s %s :%s\n",
 		chan->name, floodnick, CHAN_MASSDEOP_KICK);
 	m->flags |= SENTKICK;
@@ -442,7 +442,7 @@
   maskrec	*e;
   masklist	*b;
   int		 cycle;
-  
+
   /* Check channel exempts in first cycle and global exempts
      in second cycle. */
   for (cycle = 0; cycle < 2; cycle++) {
@@ -530,12 +530,12 @@
   maskrec	*e;
   masklist	*b;
   int		 cycle;
-  
+
   /* Check channel exempts in first cycle and global exempts
      in second cycle. */
   for (cycle = 0; cycle < 2; cycle++) {
     for (e = cycle ? chan->exempts : global_exempts; e; e = e->next) {
-      if (!isexempted(chan, e->mask) && 
+      if (!isexempted(chan, e->mask) &&
           (!channel_dynamicexempts(chan) || (e->flags & MASKREC_STICKY)))
         add_mode(chan, '+', 'e', e->mask);
       for (b = chan->channel.ban; b && b->mask[0]; b = b->next) {
@@ -557,7 +557,7 @@
 {
   maskrec	*ir;
   int		 cycle;
-  
+
   /* Check channel invites in first cycle and global invites
      in second cycle. */
   for (cycle = 0; cycle < 2; cycle++)  {
@@ -580,13 +580,13 @@
 {
   if (!me_op(chan))
     return;                     /* Can't do it */
-    
+
   /* Remove masks we didn't put there */
   for (; m && m->mask[0]; m = m->next) {
     if (!u_equals_mask(global_masks, m->mask) && !u_equals_mask(mrec, m->mask))
       add_mode(chan, '-', mode, m->mask);
   }
-  
+
   /* Make sure the intended masks are still there */
   switch (mode) {
     case 'b':
@@ -609,7 +609,7 @@
   int cur = chan->channel.mode,
       mns = chan->mode_mns_prot,
       pls = chan->mode_pls_prot;
- 
+
   if (!(chan->status & CHAN_ASKEDMODES)) {
     if (pls & CHANINV && !(cur & CHANINV))
       add_mode(chan, '+', 'i', "");
@@ -737,7 +737,7 @@
 	  dprintf(DP_SERVER, "KICK %s %s :%s\n", chan->name, m->nick,
 		  p ? p : IRC_POLITEKICK);
 	  m->flags |= SENTKICK;
-	} 
+	}
       }
       /* now lets look at de-op'd ppl */
       if (!chan_hasop(m) &&
@@ -749,8 +749,8 @@
 	add_mode(chan, '+', 'o', m->nick);
 	  /* otherwise, lets check +v stuff if the llamas want it */
       } else if (!chan_hasvoice(m) && !chan_hasop(m)) {
-	if ((channel_autovoice(chan) && !chan_quiet(fr) && 
-	     (chan_voice(fr) || glob_voice(fr))) || 
+	if ((channel_autovoice(chan) && !chan_quiet(fr) &&
+	     (chan_voice(fr) || glob_voice(fr))) ||
 	    (!chan_quiet(fr) && (glob_gvoice(fr) || chan_gvoice(fr)))) {
 	  add_mode(chan, '+', 'v', m->nick);
 	}
@@ -849,7 +849,7 @@
 	  *p = 0;
 	}
       }
-      if ((chan->channel.mode & CHANKEY) && !(chan->channel.key[0])) 
+      if ((chan->channel.mode & CHANKEY) && !(chan->channel.key[0]))
         chan->status |= CHAN_ASKEDMODES;
     }
     if (msg[i] == 'l') {
@@ -1169,7 +1169,7 @@
 {
   char *chname;
   struct chanset_t *chan;
-  
+
   newsplit(&msg);
   chname = newsplit(&msg);
   if (chname && chname[0]=='!') {
@@ -1346,7 +1346,7 @@
   if (!chan)
     /* Might be a short-name */
     chan = findchan_by_dname(msg);
-  
+
   if (chan && (channel_pending(chan) || channel_active(chan)))
     dprintf(DP_HELP, "NOTICE %s :I'm already here.\n", nick);
   else if (chan && !channel_inactive(chan))
@@ -1477,7 +1477,7 @@
     /* As this is a !channel, we need to search for it by display (short)
      * name now. This will happen when we initially join the channel, as we
      * dont know the unique channel name that the server has made up. <cybah>
-     */  
+     */
     int	l_chname = strlen(chname);
 
     if (l_chname > (CHANNEL_ID_LEN + 1)) {
@@ -1512,7 +1512,7 @@
      */
     chan = findchan_by_dname(chname);
   }
-  
+
   if (!chan || channel_inactive(chan)) {
     putlog(LOG_MISC, "*", "joined %s but didn't want to!", chname);
     dprintf(DP_MODE, "PART %s\n", chname);
@@ -1566,7 +1566,7 @@
 	/* The tcl binding might have deleted the current user and the
 	 * current channel, so we'll now have to re-check whether they
 	 * both still exist.
-	 */ 
+	 */
 	chan = findchan(chname);
 	if (!chan) {
 	  if (ch_dname)
@@ -1654,7 +1654,7 @@
 	      (u_match_mask(global_exempts,from) ||
 	       u_match_mask(chan->exempts, from)))) {
           if (channel_enforcebans(chan) && !chan_op(fr) && !glob_op(fr) &&
-              !glob_friend(fr) && !chan_friend(fr) && !chan_sentkick(m) && 
+              !glob_friend(fr) && !chan_friend(fr) && !chan_sentkick(m) &&
               !(use_exempts && isexempted(chan, from))) {
             for (b = chan->channel.ban; b->mask[0]; b = b->next) {
               if (wild_match(b->mask, from)) {
@@ -1677,7 +1677,7 @@
 	    dprintf(DP_MODE, "KICK %s %s :%s\n", chname, nick,
 		    (p && (p[0] != '@')) ? p : IRC_COMMENTKICK);
 	    m->flags |= SENTKICK;
-	  } 
+	  }
 	}
 	/* Are they a chan op, or global op without chan deop? */
 	if ((chan_op(fr) || (glob_op(fr) && !chan_deop(fr))) &&
@@ -1722,7 +1722,7 @@
   fixcolon(msg);
   chan = findchan(chname);
   if (chan && channel_inactive(chan)) {
-    clear_channel(chan, 1);  
+    clear_channel(chan, 1);
     chan->status &= ~(CHAN_ACTIVE | CHAN_PEND);
     return 0;
   }
Index: eggdrop1.6/src/mod/irc.mod/cmdsirc.c
diff -u eggdrop1.6/src/mod/irc.mod/cmdsirc.c:1.23 eggdrop1.6/src/mod/irc.mod/cmdsirc.c:1.24
--- eggdrop1.6/src/mod/irc.mod/cmdsirc.c:1.23	Tue Jan 16 11:13:22 2001
+++ eggdrop1.6/src/mod/irc.mod/cmdsirc.c	Wed Apr 11 21:39:46 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * chancmds.c -- part of irc.mod
  *   handles commands direclty relating to channel interaction
- * 
- * $Id: cmdsirc.c,v 1.23 2001/01/16 17:13:22 guppy Exp $
+ *
+ * $Id: cmdsirc.c,v 1.24 2001/04/12 02:39:46 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -695,7 +695,7 @@
 {
   char *chname;
   struct chanset_t *chan;
- 
+
   chname = newsplit(&par);
   rmspace(chname);
 
@@ -710,7 +710,7 @@
     chan = findchan_by_dname(dcc[idx].u.chat->con_chan);
     if (!chan) {
       dprintf(idx, "Invalid console channel.\n");
-      return; 
+      return;
     }
     get_user_flagrec(u, &user, dcc[idx].u.chat->con_chan);
   }
@@ -735,7 +735,7 @@
       return;
     }
     get_user_flagrec(u, &user, chname);
-  } else { 
+  } else {
     chan = findchan_by_dname(dcc[idx].u.chat->con_chan);
     if (!chan) {
     dprintf(idx, "Invalid console channel.\n");
@@ -764,7 +764,7 @@
       return;
     }
     get_user_flagrec(u, &user, chname);
-  } else { 
+  } else {
     chan = findchan_by_dname(dcc[idx].u.chat->con_chan);
     if (!chan) {
     dprintf(idx, "Invalid console channel.\n");
Index: eggdrop1.6/src/mod/irc.mod/irc.c
diff -u eggdrop1.6/src/mod/irc.mod/irc.c:1.49 eggdrop1.6/src/mod/irc.mod/irc.c:1.50
--- eggdrop1.6/src/mod/irc.mod/irc.c:1.49	Tue Jan 30 23:38:06 2001
+++ eggdrop1.6/src/mod/irc.mod/irc.c	Wed Apr 11 21:39:46 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * irc.c -- part of irc.mod
- *   support for channels within the bot 
- * 
- * $Id: irc.c,v 1.49 2001/01/31 05:38:06 guppy Exp $
+ *   support for channels within the bot
+ *
+ * $Id: irc.c,v 1.50 2001/04/12 02:39:46 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -60,7 +60,7 @@
 					   responses. */
 static int kick_method = 1;		/* How many kicks does the irc network
 					   support at once?
-					   0 = as many as possible. 
+					   0 = as many as possible.
 					       (Ernst 18/3/1998) */
 static int kick_fun = 0;
 static int ban_fun = 0;
@@ -92,7 +92,7 @@
     return 0;
 
   get_user_flagrec(u, &fr, chan->dname);
- 
+
   /* Kickee is not a friend? */
   if (!chan_friend(fr) && !glob_friend(fr) &&
       /* ... and they didn't kick themself? */
@@ -154,7 +154,7 @@
     kick_msg = "revenge!";
   }
   putlog(LOG_MISC, chan->dname, "Punishing %s (%s)", badnick, reason);
- 
+
   /* Set the offender +d */
   if ((chan->revenge_mode > 0) &&
       /* ... unless there's no more to do */
@@ -213,7 +213,7 @@
       putlog(LOG_MISC, "*", "Now deopping %s (%s)", whobad, reason);
     }
   }
-  
+
   /* Always try to deop the offender */
   if (!mevictim)
     add_mode(chan, '-', 'o', badnick);
@@ -478,7 +478,7 @@
   struct chanset_t *chan;
   char s[20], s2[20];
   int chops, voice, nonops, bans, invites, exempts;
-  
+
   for (chan = chanset; chan != NULL; chan = chan->next) {
     if (channel_active(chan) && channel_logstatus(chan) &&
         !channel_inactive(chan)) {
@@ -554,7 +554,7 @@
       /* + is opless. Complaining about no ops when without special
        * help(services), we cant get them - Raist
        */
-      if (chan->name[0] != '+')	
+      if (chan->name[0] != '+')
 	putlog(LOG_MISC, "*", "%s is active but has no ops :(", chan->dname);
       whined = 1;
     }
@@ -609,7 +609,7 @@
 	if (use_exempts && channel_dynamicexempts(chan) && exempt_time)
 	  for (e = chan->channel.exempt; e->mask[0]; e = e->next)
 	    if (now - e->timer > 60 * exempt_time &&
-		!u_sticky_mask(chan->exempts, e->mask) && 
+		!u_sticky_mask(chan->exempts, e->mask) &&
 		!u_sticky_mask(global_exempts, e->mask) &&
 		expired_mask(chan, e->who)) {
 	      /* Check to see if it matches a ban */
@@ -641,7 +641,7 @@
 	    invite_time && !(chan->channel.mode & CHANINV))
 	  for (b = chan->channel.invite; b->mask[0]; b = b->next)
 	    if (now - b->timer > 60 * invite_time &&
-		!u_sticky_mask(chan->invites, b->mask) && 
+		!u_sticky_mask(chan->invites, b->mask) &&
 		!u_sticky_mask(global_invites, b->mask) &&
 		expired_mask(chan, b->who)) {
 	      putlog(LOG_MODES, chan->dname,
@@ -1139,7 +1139,7 @@
   for (chan = chanset; chan; chan = chan->next) {
     if (!channel_inactive(chan))
       dprintf(DP_MODE, "JOIN %s %s\n",
-              (chan->name[0]) ? chan->name : chan->dname, chan->key_prot);      
+              (chan->name[0]) ? chan->name : chan->dname, chan->key_prot);
     chan->status &= ~(CHAN_ACTIVE | CHAN_PEND | CHAN_ASKEDBANS);
     chan->ircnet_status &= ~(CHAN_ASKED_INVITED | CHAN_ASKED_EXEMPTS);
   }
Index: eggdrop1.6/src/mod/irc.mod/irc.h
diff -u eggdrop1.6/src/mod/irc.mod/irc.h:1.13 eggdrop1.6/src/mod/irc.mod/irc.h:1.14
--- eggdrop1.6/src/mod/irc.mod/irc.h:1.13	Fri Oct 27 14:29:11 2000
+++ eggdrop1.6/src/mod/irc.mod/irc.h	Wed Apr 11 21:39:46 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * irc.h -- part of irc.mod
- * 
- * $Id: irc.h,v 1.13 2000/10/27 19:29:11 fabian Exp $
+ *
+ * $Id: irc.h,v 1.14 2001/04/12 02:39:46 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/mod/irc.mod/mode.c
diff -u eggdrop1.6/src/mod/irc.mod/mode.c:1.41 eggdrop1.6/src/mod/irc.mod/mode.c:1.42
--- eggdrop1.6/src/mod/irc.mod/mode.c:1.41	Sat Apr  7 14:36:53 2001
+++ eggdrop1.6/src/mod/irc.mod/mode.c	Wed Apr 11 21:39:46 2001
@@ -1,25 +1,25 @@
-/* 
+/*
  * mode.c -- part of irc.mod
  *   queueing and flushing mode changes made by the bot
  *   channel mode changes and the bot's reaction to them
  *   setting and getting the current wanted channel modes
- * 
- * $Id: mode.c,v 1.41 2001/04/07 19:36:53 guppy Exp $
+ *
+ * $Id: mode.c,v 1.42 2001/04/12 02:39:46 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -61,7 +61,7 @@
       *p++ = chan->pls[i];
     chan->pls[0] = 0;
   }
-  
+
   chan->bytes = 0;
   chan->compat = 0;
 
@@ -74,10 +74,10 @@
 
     postsize -= egg_strcatn(post, chan->key, sizeof(post));
     postsize -= egg_strcatn(post, " ", sizeof(post));
-    
+
     nfree(chan->key), chan->key = NULL;
   }
-  
+
   /* max +l is signed 2^32 on ircnet at least... so makesure we've got at least
    * a 13 char buffer for '-2147483647 \0'. We'll be overwriting the existing
    * terminating null in 'post', so makesure postsize >= 12.
@@ -87,13 +87,13 @@
       *p++ = '+', plus = 1;
     }
     *p++ = 'l';
-    
+
     /* 'sizeof(post) - 1' is used because we want to overwrite the old null */
     postsize -= sprintf(&post[(sizeof(post) - 1) - postsize], "%d ", chan->limit);
-    
+
     chan->limit = 0;
   }
-  
+
   /* -k ? */
   if (chan->rmkey) {
     if (plus) {
@@ -103,7 +103,7 @@
 
     postsize -= egg_strcatn(post, chan->rmkey, sizeof(post));
     postsize -= egg_strcatn(post, " ", sizeof(post));
-    
+
     nfree(chan->rmkey), chan->rmkey = NULL;
   }
 
@@ -113,20 +113,20 @@
       if (plus) {
         *p++ = '-', plus = 0;
       }
-      
+
       *p++ = ((chan->cmode[i].type & BAN) ? 'b' :
-              ((chan->cmode[i].type & CHOP) ? 'o' : 
-               ((chan->cmode[i].type & EXEMPT) ? 'e' : 
+              ((chan->cmode[i].type & CHOP) ? 'o' :
+               ((chan->cmode[i].type & EXEMPT) ? 'e' :
                 ((chan->cmode[i].type & INVITE) ? 'I' : 'v'))));
-      
+
       postsize -= egg_strcatn(post, chan->cmode[i].op, sizeof(post));
       postsize -= egg_strcatn(post, " ", sizeof(post));
-      
+
       nfree(chan->cmode[i].op), chan->cmode[i].op = NULL;
       chan->cmode[i].type = 0;
     }
   }
-  
+
   /* now do all the + modes... */
   for (i = 0; i < modesperline; i++) {
     if (chan->cmode[i].type & PLUS && postsize > strlen(chan->cmode[i].op)) {
@@ -135,8 +135,8 @@
       }
 
       *p++ = ((chan->cmode[i].type & BAN) ? 'b' :
-              ((chan->cmode[i].type & CHOP) ? 'o' : 
-               ((chan->cmode[i].type & EXEMPT) ? 'e' : 
+              ((chan->cmode[i].type & CHOP) ? 'o' :
+               ((chan->cmode[i].type & EXEMPT) ? 'e' :
                 ((chan->cmode[i].type & INVITE) ? 'I' : 'v'))));
 
       postsize -= egg_strcatn(post, chan->cmode[i].op, sizeof(post));
@@ -146,7 +146,7 @@
       chan->cmode[i].type = 0;
     }
   }
-  
+
   /* remember to terminate the buffer ('out')... */
   *p = 0;
 
@@ -176,7 +176,7 @@
   masklist *m;
   memberlist *mx;
   char s[21];
-  
+
   if (!me_op(chan))
     return;			/* No point in queueing the mode */
 
@@ -225,7 +225,7 @@
 	     (mode == 'v' ? VOICE :
 	      (mode == 'e' ? EXEMPT : INVITE))));
 
-    /* 
+    /*
      * FIXME: Some networks remove overlapped bans, IrcNet does not
      *        (poptix/drummer)
      *
@@ -714,7 +714,7 @@
     if (!nick[0] && bounce_modes)
       reversing = 1;
   }
-  if (reversing || (bounce_exempts && !nick[0] && 
+  if (reversing || (bounce_exempts && !nick[0] &&
 		   (!u_equals_mask(global_exempts, who) ||
 		    !u_equals_mask(chan->exempts, who))))
     add_mode(chan, '-', 'e', who);
@@ -794,7 +794,7 @@
     if ((!nick[0]) && (bounce_modes))
       reversing = 1;
   }
-  if (reversing || (bounce_invites && (!nick[0])  && 
+  if (reversing || (bounce_invites && (!nick[0])  &&
 		    (!u_equals_mask(global_invites, who) ||
 		     !u_equals_mask(chan->invites, who))))
     add_mode(chan, '-', 'I', who);
@@ -1069,7 +1069,7 @@
 		  !glob_master(user) && !chan_master(user)) {
 		if ((channel_autovoice(chan) && !chan_quiet(victim) &&
 		    (chan_voice(victim) || glob_voice(victim))) ||
-		    (!chan_quiet(victim) && 
+		    (!chan_quiet(victim) &&
 		    (glob_gvoice(victim) || chan_gvoice(victim)))) {
 		  add_mode(chan, '+', 'v', op);
 		} else if (reversing)
Index: eggdrop1.6/src/mod/irc.mod/msgcmds.c
diff -u eggdrop1.6/src/mod/irc.mod/msgcmds.c:1.20 eggdrop1.6/src/mod/irc.mod/msgcmds.c:1.21
--- eggdrop1.6/src/mod/irc.mod/msgcmds.c:1.20	Sun Feb 11 11:57:31 2001
+++ eggdrop1.6/src/mod/irc.mod/msgcmds.c	Wed Apr 11 21:39:46 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * msgcmds.c -- part of irc.mod
  *   all commands entered via /MSG
- * 
- * $Id: msgcmds.c,v 1.20 2001/02/11 17:57:31 guppy Exp $
+ *
+ * $Id: msgcmds.c,v 1.21 2001/04/12 02:39:46 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -226,7 +226,7 @@
 	if ((channel_autoop(chan) || glob_autoop(fr) || chan_autoop(fr)) &&
            (mx = ismember(chan, nick)) &&
 	   /* ... and isn't the user chanop already? */
-	   !chan_hasop(mx) && !chan_sentop(mx) && 
+	   !chan_hasop(mx) && !chan_sentop(mx) &&
 	   /* ... and are they actually validly +o? */
 	   !chan_sentop(mx) && (chan_op(fr) || (glob_op(fr) &&
 	   !chan_deop(fr)))) {
@@ -862,7 +862,7 @@
   dprintf(-serv, "NOTICE %s :%s\n", nick, BOT_MSGDIE);
   if (!par[0])
     egg_snprintf(s, sizeof s, "BOT SHUTDOWN (authorized by %s)", u->handle);
-  else 
+  else
     egg_snprintf(s, sizeof s, "BOT SHUTDOWN (%s: %s)", u->handle, par);
   chatout("*** %s\n", s);
   botnet_send_chat(-1, botnetnick, s);
Index: eggdrop1.6/src/mod/irc.mod/tclirc.c
diff -u eggdrop1.6/src/mod/irc.mod/tclirc.c:1.19 eggdrop1.6/src/mod/irc.mod/tclirc.c:1.20
--- eggdrop1.6/src/mod/irc.mod/tclirc.c:1.19	Wed Feb 14 22:33:18 2001
+++ eggdrop1.6/src/mod/irc.mod/tclirc.c	Wed Apr 11 21:39:46 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * tclirc.c -- part of irc.mod
- * 
- * $Id: tclirc.c,v 1.19 2001/02/15 04:33:18 tothwolf Exp $
+ *
+ * $Id: tclirc.c,v 1.20 2001/04/12 02:39:46 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -363,7 +363,7 @@
 static inline int tcl_chanmasks(masklist *m, Tcl_Interp *irp)
 {
   char *list[3], work[20], *p;
-  
+
   while(m && m->mask && m->mask[0]) {
     list[0] = m->mask;
     list[1] = m->who;
@@ -683,7 +683,7 @@
 
   BADARGS(3, 4, " channel nick?s? ?comment?");
   chan = findchan_by_dname(argv[1]);
-  if (chan == NULL) { 
+  if (chan == NULL) {
     Tcl_AppendResult(irp, "illegal channel: ", argv[1], NULL);
     return TCL_ERROR;
   }
@@ -695,7 +695,7 @@
     Tcl_AppendResult(irp, "need op", NULL);
     return TCL_ERROR;
   }
-  
+
   kicknick[0] = 0;
   p = argv[2];
   /* Loop through all given nicks */
@@ -706,7 +706,7 @@
       *p = 0;
       p++;
     }
-    
+
     m = ismember(chan, nick);
     if (!m)
       continue;			/* Skip non-existant nicks */
Index: eggdrop1.6/src/mod/module.h
diff -u eggdrop1.6/src/mod/module.h:1.44 eggdrop1.6/src/mod/module.h:1.45
--- eggdrop1.6/src/mod/module.h:1.44	Fri Apr  6 17:28:43 2001
+++ eggdrop1.6/src/mod/module.h	Wed Apr 11 21:39:44 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * module.h
- * 
- * $Id: module.h,v 1.44 2001/04/06 22:28:43 guppy Exp $
+ *
+ * $Id: module.h,v 1.45 2001/04/12 02:39:44 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -30,7 +30,7 @@
 #include "modvals.h"
 #include "src/tandem.h"
 
-/* 
+/*
  * This file contains all the orrible stuff required to do the lookup
  * table for symbols, rather than getting the OS to do it, since most
  * OS's require all symbols resolved, this can cause a problem with
Index: eggdrop1.6/src/mod/modvals.h
diff -u eggdrop1.6/src/mod/modvals.h:1.15 eggdrop1.6/src/mod/modvals.h:1.16
--- eggdrop1.6/src/mod/modvals.h:1.15	Mon Feb 26 21:18:24 2001
+++ eggdrop1.6/src/mod/modvals.h	Wed Apr 11 21:39:44 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * modvals.h
- * 
- * $Id: modvals.h,v 1.15 2001/02/27 03:18:24 guppy Exp $
+ *
+ * $Id: modvals.h,v 1.16 2001/04/12 02:39:44 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -79,7 +79,7 @@
 #define NOTES_CMD_NOTE		  4
 /* Console */
 #define CONSOLE_DOSTORE		  4
- 
+
 #ifdef HPUX_HACKS
 #  include <dl.h>
 #endif
Index: eggdrop1.6/src/mod/notes.mod/cmdsnote.c
diff -u eggdrop1.6/src/mod/notes.mod/cmdsnote.c:1.10 eggdrop1.6/src/mod/notes.mod/cmdsnote.c:1.11
--- eggdrop1.6/src/mod/notes.mod/cmdsnote.c:1.10	Sun Jan 21 01:32:40 2001
+++ eggdrop1.6/src/mod/notes.mod/cmdsnote.c	Wed Apr 11 21:39:47 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * cmdsnote.c -- part of notes.mod
  *   handles all notes interaction over the party line
- * 
- * $Id: cmdsnote.c,v 1.10 2001/01/21 07:32:40 guppy Exp $
+ *
+ * $Id: cmdsnote.c,v 1.11 2001/04/12 02:39:47 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/mod/notes.mod/notes.c
diff -u eggdrop1.6/src/mod/notes.mod/notes.c:1.28 eggdrop1.6/src/mod/notes.mod/notes.c:1.29
--- eggdrop1.6/src/mod/notes.mod/notes.c:1.28	Tue Jan 30 23:40:14 2001
+++ eggdrop1.6/src/mod/notes.mod/notes.c	Wed Apr 11 21:39:47 2001
@@ -1,26 +1,26 @@
-/* 
+/*
  * notes.c -- part of notes.mod
  *   reading and sending notes
  *   killing old notes and changing the destinations
  *   note cmds
  *   note ignores
- * 
- * $Id: notes.c,v 1.28 2001/01/31 05:40:14 guppy Exp $
+ *
+ * $Id: notes.c,v 1.29 2001/04/12 02:39:47 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -455,7 +455,7 @@
   return TCL_OK;
 }
 
-/* 
+/*
  * srd="+" : index
  * srd="-" : read all msgs
  * else    : read msg in list : (ex: .notes read 5-9;12;13;18-)
@@ -564,7 +564,7 @@
   }
 }
 
-/* 
+/*
  * sdl="-" : erase all msgs
  * else    : erase msg in list : (ex: .notes erase 2-4;8;16-)
  * idx=-1  : /msg
@@ -846,7 +846,7 @@
 	      break;
 	    }
 	  if (k) {
-	    dprintf(DP_HELP, "NOTICE %s :You have %d note%s waiting on %s.\n", 
+	    dprintf(DP_HELP, "NOTICE %s :You have %d note%s waiting on %s.\n",
 		    m->nick, k, k == 1 ? "" : "s", botname);
 	    dprintf(DP_HELP, "NOTICE %s :%s /MSG %s NOTES [pass] INDEX\n",
 		        m->nick, NOTES_FORLIST, botname);
@@ -1019,7 +1019,7 @@
   ignoresn = get_note_ignores(u, &ignores);
   if (!ignoresn)
     return 0;
-  
+
   buf = user_malloc(1);
   buf[0] = 0;
   for (i = 0; i < ignoresn; i++) {
Index: eggdrop1.6/src/mod/notes.mod/notes.h
diff -u eggdrop1.6/src/mod/notes.mod/notes.h:1.5 eggdrop1.6/src/mod/notes.mod/notes.h:1.6
--- eggdrop1.6/src/mod/notes.mod/notes.h:1.5	Sat Sep 23 12:40:18 2000
+++ eggdrop1.6/src/mod/notes.mod/notes.h	Wed Apr 11 21:39:47 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * notes.h -- part of notes.mod
- * 
- * $Id: notes.h,v 1.5 2000/09/23 17:40:18 fabian Exp $
+ *
+ * $Id: notes.h,v 1.6 2001/04/12 02:39:47 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/mod/seen.mod/seen.c
diff -u eggdrop1.6/src/mod/seen.mod/seen.c:1.20 eggdrop1.6/src/mod/seen.mod/seen.c:1.21
--- eggdrop1.6/src/mod/seen.mod/seen.c:1.20	Tue Jan 16 11:13:23 2001
+++ eggdrop1.6/src/mod/seen.mod/seen.c	Wed Apr 11 21:39:47 2001
@@ -1,61 +1,61 @@
-/* 
+/*
  * seen.c -- part of seen.mod
  *  Implement the seen.tcl script functionality via module
- * 
+ *
  * by ButchBub - Scott G. Taylor (staylor at mrynet.com)
- * 
+ *
  * 0.1     1997-07-29      Initial. [BB]
  * 1.0     1997-07-31      Release. [BB]
  * 1.1     1997-08-05      Add nick->handle lookup for NICK's. [BB]
  * 1.2     1997-08-20      Minor fixes. [BB]
  * 1.2a    1997-08-24      Minor fixes. [BB]
- * 
- * $Id: seen.c,v 1.20 2001/01/16 17:13:23 guppy Exp $
+ *
+ * $Id: seen.c,v 1.21 2001/04/12 02:39:47 guppy Exp $
  */
-/* 
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1999, 2000, 2001 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.
  */
 
-/* 
+/*
  *  Currently, PUB, DCC and MSG commands are supported.  No party-line
  *      filtering is performed.
- * 
+ *
  *  For boyfriend/girlfriend support, this module relies on the XTRA
  *      fields in the userfile to use BF and GF, respectively, for
  *      these fields.
- * 
+ *
  *  userinfo1.0.tcl nicely compliments this script by providing
  *      the necessary commands to facilitate modification of these
  *      fields via DCC and IRC MSG commands.
- * 
+ *
  *  A basic definition of the parsing syntax follows:
- * 
+ *
  *      trigger :: seen [ <key> [ [ and | or ] <key> [...]]]
- * 
+ *
  *        <key> :: <keyword> [ <keyarg> ]
- * 
+ *
  *    <keyword> :: god | jesus | shit | me | yourself | my | <nick>'s |
  *                 your
  *       <nick> :: (any current on-channel IRC nick or userlist nick or handle)
- * 
+ *
  *     <keyarg> :: (see below)
- * 
+ *
  *              KEYWORD KEYARG
- * 
+ *
  *              my      boyfriend
  *                      bf
  *                      girlfriend
@@ -67,7 +67,7 @@
  *                      bf
  *                      girlfriend
  *                      gf
- * 
+ *
  */
 
 #define MODULE_NAME "seen"
Index: eggdrop1.6/src/mod/server.mod/cmdsserv.c
diff -u eggdrop1.6/src/mod/server.mod/cmdsserv.c:1.7 eggdrop1.6/src/mod/server.mod/cmdsserv.c:1.8
--- eggdrop1.6/src/mod/server.mod/cmdsserv.c:1.7	Sun Jul  9 09:07:13 2000
+++ eggdrop1.6/src/mod/server.mod/cmdsserv.c	Wed Apr 11 21:39:47 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * cmdsserv.c -- part of server.mod
  *   handles commands from a user via dcc that cause server interaction
- * 
- * $Id: cmdsserv.c,v 1.7 2000/07/09 14:07:13 fabian Exp $
+ *
+ * $Id: cmdsserv.c,v 1.8 2001/04/12 02:39:47 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -97,7 +97,7 @@
     msgq_clear(&modeq);
     msgq_clear(&mq);
     msgq_clear(&hq);
-    double_warned = burst = 0;  
+    double_warned = burst = 0;
     dprintf(idx, "Removed %d msgs from all queues\n", msgs);
   } else if (!egg_strcasecmp(par, "mode")) {
     msgs = modeq.tot;
@@ -107,7 +107,7 @@
     double_warned = 0;
     dprintf(idx, "Removed %d msgs from the %s queue\n", msgs, "mode");
   } else if (!egg_strcasecmp(par, "help")) {
-    msgs = hq.tot;   
+    msgs = hq.tot;
     msgq_clear(&hq);
     double_warned = 0;
     dprintf(idx, "Removed %d msgs from the %s queue\n", msgs, "help");
Index: eggdrop1.6/src/mod/server.mod/server.c
diff -u eggdrop1.6/src/mod/server.mod/server.c:1.60 eggdrop1.6/src/mod/server.mod/server.c:1.61
--- eggdrop1.6/src/mod/server.mod/server.c:1.60	Tue Jan 16 11:13:23 2001
+++ eggdrop1.6/src/mod/server.mod/server.c	Wed Apr 11 21:39:47 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * server.c -- part of server.mod
  *   basic irc server support
- * 
- * $Id: server.c,v 1.60 2001/01/16 17:13:23 guppy Exp $
+ *
+ * $Id: server.c,v 1.61 2001/04/12 02:39:47 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -140,9 +140,9 @@
  */
 
 /* Called periodically to shove out another queued item.
- * 
+ *
  * 'mode' queue gets priority now.
- * 
+ *
  * Most servers will allow 'busts' of upto 5 msgs, so let's put something
  * in to support flushing modeq a little faster if possible.
  * Will send upto 4 msgs from modeq, and then send 1 msg every time
@@ -965,7 +965,7 @@
 }
 
 /* Set botserver to the next available server.
- * 
+ *
  * -> if (*ptr == -1) then jump to that particular server
  */
 static void next_server(int *ptr, char *serv, unsigned int *port, char *pass)
@@ -1578,7 +1578,7 @@
 static void msgq_clear(struct msgq_head *qh)
 {
   register struct msgq	*q, *qq;
-  
+
   for (q = qh->head; q; q = qq) {
     qq = q->next;
     nfree(q->msg);
Index: eggdrop1.6/src/mod/server.mod/server.h
diff -u eggdrop1.6/src/mod/server.mod/server.h:1.11 eggdrop1.6/src/mod/server.mod/server.h:1.12
--- eggdrop1.6/src/mod/server.mod/server.h:1.11	Wed Nov  8 14:11:05 2000
+++ eggdrop1.6/src/mod/server.mod/server.h	Wed Apr 11 21:39:47 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * server.h -- part of server.mod
- * 
- * $Id: server.h,v 1.11 2000/11/08 20:11:05 guppy Exp $
+ *
+ * $Id: server.h,v 1.12 2001/04/12 02:39:47 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/mod/server.mod/servmsg.c
diff -u eggdrop1.6/src/mod/server.mod/servmsg.c:1.51 eggdrop1.6/src/mod/server.mod/servmsg.c:1.52
--- eggdrop1.6/src/mod/server.mod/servmsg.c:1.51	Tue Jan 16 11:13:23 2001
+++ eggdrop1.6/src/mod/server.mod/servmsg.c	Wed Apr 11 21:39:47 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * servmsg.c -- part of server.mod
- * 
- * $Id: servmsg.c,v 1.51 2001/01/16 17:13:23 guppy Exp $
+ *
+ * $Id: servmsg.c,v 1.52 2001/04/12 02:39:47 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -30,16 +30,16 @@
 /* We try to change to a preferred unique nick here. We always first try the
  * specified alternate nick. If that failes, we repeatedly modify the nick
  * until it gets accepted.
- * 
+ *
  * sent nick:
  *     "<altnick><c>"
  *                ^--- additional count character: 1-9^-_\\[]`a-z
  *          ^--------- given, alternate nick
- * 
+ *
  * The last added character is always saved in altnick_char. At the very first
  * attempt (were altnick_char is 0), we try the alternate nick without any
  * additions.
- * 
+ *
  * fixed by guppy (1999/02/24) and Fabian (1999/11/26)
  */
 static int gotfake433(char *from)
Index: eggdrop1.6/src/mod/server.mod/tclserv.c
diff -u eggdrop1.6/src/mod/server.mod/tclserv.c:1.7 eggdrop1.6/src/mod/server.mod/tclserv.c:1.8
--- eggdrop1.6/src/mod/server.mod/tclserv.c:1.7	Tue Jan 16 11:13:23 2001
+++ eggdrop1.6/src/mod/server.mod/tclserv.c	Wed Apr 11 21:39:47 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * tclserv.c -- part of server.mod
- * 
- * $Id: tclserv.c,v 1.7 2001/01/16 17:13:23 guppy Exp $
+ *
+ * $Id: tclserv.c,v 1.8 2001/04/12 02:39:47 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/mod/share.mod/share.c
diff -u eggdrop1.6/src/mod/share.mod/share.c:1.48 eggdrop1.6/src/mod/share.mod/share.c:1.49
--- eggdrop1.6/src/mod/share.mod/share.c:1.48	Sat Feb 24 14:11:45 2001
+++ eggdrop1.6/src/mod/share.mod/share.c	Wed Apr 11 21:39:47 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * share.c -- part of share.mod
- * 
- * $Id: share.c,v 1.48 2001/02/24 20:11:45 guppy Exp $
+ *
+ * $Id: share.c,v 1.49 2001/04/12 02:39:47 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -39,7 +39,7 @@
 /* Minimum version I will share with. */
 static const int min_share		= 1029900;
 /* Earliest version that supports exempts and invites. */
-static const int min_exemptinvite	= 1032800; 
+static const int min_exemptinvite	= 1032800;
 /* Minimum version that supports userfile features. */
 static const int min_uffeature		= 1050200;
 
@@ -83,7 +83,7 @@
 #include "uf_features.c"
 
 
-/* 
+/*
  *   Botnet commands
  */
 
@@ -1296,7 +1296,7 @@
 }
 
 
-/* 
+/*
  *    Resync buffers
  */
 
@@ -1544,7 +1544,7 @@
 /* Create a copy of the entire userlist (for sending user lists to clone
  * bots) -- userlist is reversed in the process, which is OK because the
  * receiving bot reverses the list AGAIN when saving.
- * 
+ *
  * t = 0:   copy everything BUT tandem-bots
  * t = 1:   copy only tandem-bots
  * t = 2;   copy all entries
@@ -1634,7 +1634,7 @@
     unlink(dcc[idx].u.xfer->filename);
     return;
   }
-  
+
   if (dcc[j].u.bot->uff_flags & UFF_OVERRIDE)
     debug1("NOTE: Sharing passively with %s, overriding local bots.",
 	   dcc[j].nick);
@@ -1642,7 +1642,7 @@
     /* Copy the bots over. The entries will be used in the new user list. */
     u = dup_userlist(1);
 
-  /* 
+  /*
    * This is where we remove all global and channel bans/exempts/invites and
    * ignores since they will be replaced by what our hub gives us.
    */
@@ -1705,7 +1705,7 @@
   userlist = u;			/* Set new user list.			*/
   lastuser = NULL;		/* Reset last accessed user ptr.	*/
 
-  /* 
+  /*
    * Migrate:
    *   - old channel flags over (unshared channels see)
    *   - unshared (got_share == 0) user entries
Index: eggdrop1.6/src/mod/share.mod/share.h
diff -u eggdrop1.6/src/mod/share.mod/share.h:1.2 eggdrop1.6/src/mod/share.mod/share.h:1.3
--- eggdrop1.6/src/mod/share.mod/share.h:1.2	Sat Mar  4 14:49:45 2000
+++ eggdrop1.6/src/mod/share.mod/share.h	Wed Apr 11 21:39:47 2001
@@ -1,21 +1,21 @@
-/* 
+/*
  * share.h -- part of share.mod
- * 
- * $Id: share.h,v 1.2 2000/03/04 20:49:45 fabian Exp $
+ *
+ * $Id: share.h,v 1.3 2001/04/12 02:39:47 guppy Exp $
  */
-/* 
- * Copyright (C) 1999  Eggheads
- * 
+/*
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/mod/share.mod/uf_features.c
diff -u eggdrop1.6/src/mod/share.mod/uf_features.c:1.6 eggdrop1.6/src/mod/share.mod/uf_features.c:1.7
--- eggdrop1.6/src/mod/share.mod/uf_features.c:1.6	Tue Jan 16 11:13:24 2001
+++ eggdrop1.6/src/mod/share.mod/uf_features.c	Wed Apr 11 21:39:47 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * uf_features.c -- part of share.mod
- * 
- * $Id: uf_features.c,v 1.6 2001/01/16 17:13:24 guppy Exp $
+ *
+ * $Id: uf_features.c,v 1.7 2001/04/12 02:39:47 guppy Exp $
  */
-/* 
- * Copyright (C) 2000  Eggheads
+/*
+ * Copyright (C) 2000, 2001 Eggheads Development Team
  * Written by Fabian Knittel <fknittel at gmx.de>
- * 
+ *
  * 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.
Index: eggdrop1.6/src/mod/transfer.mod/transfer.c
diff -u eggdrop1.6/src/mod/transfer.mod/transfer.c:1.35 eggdrop1.6/src/mod/transfer.mod/transfer.c:1.36
--- eggdrop1.6/src/mod/transfer.mod/transfer.c:1.35	Mon Jan 22 17:47:34 2001
+++ eggdrop1.6/src/mod/transfer.mod/transfer.c	Wed Apr 11 21:39:47 2001
@@ -1,27 +1,27 @@
-/* 
+/*
  * transfer.c -- part of transfer.mod
- * 
- * $Id: transfer.c,v 1.35 2001/01/22 23:47:34 guppy Exp $
+ *
+ * $Id: transfer.c,v 1.36 2001/04/12 02:39:47 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
  */
-/* 
+/*
  * Small code snippets related to REGET/RESEND support were taken from
  * BitchX, copyright by panasync.
  */
@@ -53,7 +53,7 @@
 static int quiet_reject;        /* Quietly reject dcc chat or sends from
                                    users without access? */
 
-/* 
+/*
  * Prototypes
  */
 static void stats_add_dnload(struct userrec *, unsigned long);
@@ -68,7 +68,7 @@
 static fileq_t *fileq = NULL;
 
 
-/* 
+/*
  *   Misc functions
  */
 
@@ -83,9 +83,9 @@
 #define WILDS '*'
 #define WILDQ '?'
 #define NOMATCH 0
-/* 
+/*
  * wild_match_file(char *ma, char *na)
- * 
+ *
  * Features:  Forward, case-sensitive, ?, *
  * Best use:  File mask matching, as it is case-sensitive
  */
@@ -196,7 +196,7 @@
 }
 
 
-/* 
+/*
  *    Tcl sent, rcvd, tout and lost functions
  */
 
@@ -213,13 +213,13 @@
 static int builtin_toutlost STDVAR
 {
   Function F = (Function) cd;
- 
+
   BADARGS(6, 6, " hand nick path acked length");
   CHECKVALIDITY(builtin_toutlost);
   F(argv[1], argv[2], argv[3], argv[4], argv[5]);
   return TCL_OK;
 }
- 
+
 static void check_tcl_sentrcvd(struct userrec *u, char *nick, char *path,
 			       p_tcl_bind_list h)
 {
@@ -241,7 +241,7 @@
   struct flag_record fr = {FR_GLOBAL | FR_CHAN | FR_ANYWH, 0, 0, 0, 0, 0};
   char *hand = u ? u->handle : "*";	/* u might be NULL. */
   char s[15];
- 
+
   get_user_flagrec(u, &fr, NULL);
   Tcl_SetVar(interp, "_sr1", hand, 0);
   Tcl_SetVar(interp, "_sr2", nick, 0);
@@ -252,9 +252,9 @@
   Tcl_SetVar(interp, "_sr5", s, 0);
   check_tcl_bind(h, hand, &fr, " $_sr1 $_sr2 $_sr3 $_sr4 $_sr5",
 		 MATCH_MASK | BIND_USE_ATTR | BIND_STACKABLE);
-}                                                                     
+}
 
-/* 
+/*
  *    File queue functions
  */
 
@@ -574,7 +574,7 @@
 }
 
 
-/* 
+/*
  *    Misc Tcl functions
  */
 
@@ -634,7 +634,7 @@
 {
   int	sock, i;
   char	s[15];
- 
+
   BADARGS(2, 2, " idx");
   /* Btw, what the tcl interface refers to as `idx' is the socket number
      for the C part. */
@@ -663,7 +663,7 @@
 };
 
 
-/* 
+/*
  *    DCC routines
  */
 
@@ -896,7 +896,7 @@
 
 /* Handles DCC packets the client sends us. As soon as the last sent dcc
  * block is fully acknowledged we send the next block.
- * 
+ *
  * Note: The first received packet during reget is a special 8 bit packet
  *       containing special information.
  */
@@ -1086,7 +1086,7 @@
     check_tcl_toutlost(u, dcc[idx].nick, dcc[idx].u.xfer->dir,
 		       dcc[idx].u.xfer->acked, dcc[idx].u.xfer->length,
 		       H_lost);
- 
+
     putlog(LOG_FILES, "*", "Lost dcc get %s from %s!%s",
 	   dcc[idx].u.xfer->origname, dcc[idx].nick, dcc[idx].host);
     wipe_tmp_filename(dcc[idx].u.xfer->filename, idx);
@@ -1174,7 +1174,7 @@
      */
     egg_snprintf(xx, sizeof xx, "%s!%s", dcc[i].nick, dcc[i].host);
     u = get_user_by_host(xx);
-    check_tcl_toutlost(u, dcc[i].nick, dcc[i].u.xfer->dir, 
+    check_tcl_toutlost(u, dcc[i].nick, dcc[i].u.xfer->dir,
 		       dcc[i].u.xfer->acked, dcc[i].u.xfer->length, H_tout);
 
     putlog(LOG_FILES, "*", "DCC timeout: GET %s (%s) at %lu/%lu",
@@ -1252,7 +1252,7 @@
 {
   register struct xfer_info *p = (struct xfer_info *) x;
   int tot;
-  
+
   tot = sizeof(struct xfer_info);
   if (p->filename)
     tot += strlen(p->filename) + 1;
@@ -1387,7 +1387,7 @@
   dcc[idx].type = &DCC_GET;
   dcc[idx].u.xfer->ack_type = XFER_ACK_UNKNOWN;
 
-  /* 
+  /*
    * Note: The file was already opened and dcc[idx].u.xfer->f may be
    *       used immediately. Leave it opened until the file transfer
    *       is complete.
@@ -1433,7 +1433,7 @@
 
 /* Starts a new DCC SEND or DCC RESEND connection to `nick', transferring
  * `filename' from `dir'.
- * 
+ *
  * Use raw_dcc_resend() and raw_dcc_send() instead of this function.
  */
 static int raw_dcc_resend_send(char *filename, char *nick, char *from,
@@ -1525,7 +1525,7 @@
 };
 
 
-/* 
+/*
  *    fstat functions
  */
 
@@ -1817,7 +1817,7 @@
 }
 
 
-/* 
+/*
  *    CTCP functions
  */
 
@@ -1853,7 +1853,7 @@
 	    nick, p ? p + 1 : dcc[i].u.xfer->origname);
     return 1;
   }
-  dcc[i].u.xfer->type = XFER_RESUME_PEND; 
+  dcc[i].u.xfer->type = XFER_RESUME_PEND;
   dcc[i].u.xfer->offset = offset;
   dprintf(DP_HELP, "PRIVMSG %s :\001DCC ACCEPT %s %d %u\001\n", nick,
 	  fn, port, offset);
@@ -1883,7 +1883,7 @@
   {NULL,	"",	NULL,			NULL}
 };
 
-/* 
+/*
  *   Module functions
  */
 
Index: eggdrop1.6/src/mod/transfer.mod/transfer.h
diff -u eggdrop1.6/src/mod/transfer.mod/transfer.h:1.10 eggdrop1.6/src/mod/transfer.mod/transfer.h:1.11
--- eggdrop1.6/src/mod/transfer.mod/transfer.h:1.10	Wed Jul 12 16:50:35 2000
+++ eggdrop1.6/src/mod/transfer.mod/transfer.h	Wed Apr 11 21:39:47 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * transfer.h -- part of transfer.mod
- * 
- * $Id: transfer.h,v 1.10 2000/07/12 21:50:35 fabian Exp $
+ *
+ * $Id: transfer.h,v 1.11 2001/04/12 02:39:47 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -55,7 +55,7 @@
 #define raw_dcc_resend(a,b,c,d) (((int (*) (char *,char *,char *,char *))transfer_funcs[18])(a,b,c,d))
 #define H_lost (*(p_tcl_bind_list*)(transfer_funcs[19]))
 /* 20 - 23 */
-#define H_tout (*(p_tcl_bind_list*)(transfer_funcs[20]))   
+#define H_tout (*(p_tcl_bind_list*)(transfer_funcs[20]))
 
 #else	/* MAKING_TRANSFER */
 
Index: eggdrop1.6/src/mod/wire.mod/wire.c
diff -u eggdrop1.6/src/mod/wire.mod/wire.c:1.16 eggdrop1.6/src/mod/wire.mod/wire.c:1.17
--- eggdrop1.6/src/mod/wire.mod/wire.c:1.16	Mon Feb 26 21:18:24 2001
+++ eggdrop1.6/src/mod/wire.mod/wire.c	Wed Apr 11 21:39:48 2001
@@ -1,11 +1,11 @@
-/* 
+/*
  * wire.c -- part of wire.mod
  *   An encrypted partyline communication.
  *   Compatible with wire.tcl.
  *   This module does not support wire usage in the files area.
- * 
+ *
  * by ButchBub - Scott G. Taylor (staylor at mrynet.com)
- * 
+ *
  * Version   Date            Req'd Eggver    Notes                    Who
  * .......   ..........      ............    ....................     ......
  * 1.0       1997-07-17      1.2.0           Initial.                 BB
@@ -14,22 +14,22 @@
  * 1.3       1997-09-24      1.2.2.0         Reprogrammed for 1.2.2   BB
  * 1.4       1997-11-25      1.2.2.0         Added language addition  Kirk
  * 1.5       1998-07-12      1.3.0.0         Fixed ;me and updated    BB
- * 
- * $Id: wire.c,v 1.16 2001/02/27 03:18:24 guppy Exp $
+ *
+ * $Id: wire.c,v 1.17 2001/04/12 02:39:48 guppy Exp $
  */
-/* 
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -104,7 +104,7 @@
   strcpy(wiretmp, param);
   nsplit(wirereq, param);
 
-/* 
+/*
  * !wire<crypt"wire"> !wirereq <destbotsock> <crypt"destbotnick">
  * -----  wirecrypt    wirereq    wirewho         param
  */
Index: eggdrop1.6/src/mod/wire.mod/wire.h
diff -u eggdrop1.6/src/mod/wire.mod/wire.h:1.4 eggdrop1.6/src/mod/wire.mod/wire.h:1.5
--- eggdrop1.6/src/mod/wire.mod/wire.h:1.4	Sun Nov  5 22:06:45 2000
+++ eggdrop1.6/src/mod/wire.mod/wire.h	Wed Apr 11 21:39:48 2001
@@ -1,21 +1,21 @@
-/* 
+/*
  * wire.h -- part of wire.mod
- * 
- * $Id: wire.h,v 1.4 2000/11/06 04:06:45 guppy Exp $
+ *
+ * $Id: wire.h,v 1.5 2001/04/12 02:39:48 guppy Exp $
  */
-/* 
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/mod/woobie.mod/woobie.c
diff -u eggdrop1.6/src/mod/woobie.mod/woobie.c:1.12 eggdrop1.6/src/mod/woobie.mod/woobie.c:1.13
--- eggdrop1.6/src/mod/woobie.mod/woobie.c:1.12	Sun Nov  5 22:06:45 2000
+++ eggdrop1.6/src/mod/woobie.mod/woobie.c	Wed Apr 11 21:39:48 2001
@@ -1,25 +1,25 @@
-/* 
+/*
  * 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.12 2000/11/06 04:06:45 guppy Exp $
+ *
+ * $Id: woobie.c,v 1.13 2001/04/12 02:39:48 guppy Exp $
  */
-/* 
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -136,7 +136,7 @@
    *                           ^-------------------- module function table
    *              ^--------------------------------- module name
    */
-  
+
   if (!module_depend(MODULE_NAME, "eggdrop", 106, 0)) {
     module_undepend(MODULE_NAME);
     return "This module requires eggdrop1.6.0 or later";
Index: eggdrop1.6/src/modules.h
diff -u eggdrop1.6/src/modules.h:1.8 eggdrop1.6/src/modules.h:1.9
--- eggdrop1.6/src/modules.h:1.8	Fri Oct 27 14:32:41 2000
+++ eggdrop1.6/src/modules.h	Wed Apr 11 21:39:43 2001
@@ -1,25 +1,25 @@
-/* 
+/*
  * modules.h
  *   support for modules in eggdrop
- * 
+ *
  * by Darrin Smith (beldin at light.iinet.net.au)
- * 
- * $Id: modules.h,v 1.8 2000/10/27 19:32:41 fabian Exp $
+ *
+ * $Id: modules.h,v 1.9 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.452 eggdrop1.6/src/patch.h:1.453
--- eggdrop1.6/src/patch.h:1.452	Sat Apr  7 14:36:53 2001
+++ eggdrop1.6/src/patch.h	Wed Apr 11 21:39:43 2001
@@ -1,31 +1,31 @@
-/* 
+/*
  * patch.h
  *   header file for adding patches to Eggdrop's version string
- * 
+ *
  * PLACE YOUR PATCHES HERE...
- * 
+ *
  * HOW TO DO IT:
- * 
+ *
  * replace a  *** PATCH GOES HERE *** line with a patch("patchname");
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
- * 
- * $Id: patch.h,v 1.452 2001/04/07 19:36:53 guppy Exp $
+ *
+ * $Id: patch.h,v 1.453 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("986671981");		/* current unixtime */
+patch("987043733");		/* current unixtime */
 /*
  *
  *
  */
-patch("modes-per-line");
+patch("copyright2001");
 /*
  *
  *
Index: eggdrop1.6/src/proto.h
diff -u eggdrop1.6/src/proto.h:1.41 eggdrop1.6/src/proto.h:1.42
--- eggdrop1.6/src/proto.h:1.41	Fri Apr  6 17:28:43 2001
+++ eggdrop1.6/src/proto.h	Wed Apr 11 21:39:43 2001
@@ -1,28 +1,28 @@
-/* 
+/*
  * proto.h
  *   prototypes for every function used outside its own module
- * 
+ *
  * (i guess i'm not very modular, cuz there are a LOT of these.)
  * with full prototyping, some have been moved to other .h files
  * because they use structures in those
  * (saves including those .h files EVERY time) - Beldin
- * 
- * $Id: proto.h,v 1.41 2001/04/06 22:28:43 guppy Exp $
+ *
+ * $Id: proto.h,v 1.42 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/stat.h
diff -u eggdrop1.6/src/stat.h:1.1 eggdrop1.6/src/stat.h:1.2
--- eggdrop1.6/src/stat.h:1.1	Tue Feb  1 14:47:20 2000
+++ eggdrop1.6/src/stat.h	Wed Apr 11 21:39:43 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * stat.h
  *  file attributes
- * 
- * $Id: stat.h,v 1.1 2000/02/01 20:47:20 fabian Exp $
+ *
+ * $Id: stat.h,v 1.2 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 2000  Eggheads
- * 
+/*
+ * Copyright (C) 2000, 2001 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.
Index: eggdrop1.6/src/tandem.h
diff -u eggdrop1.6/src/tandem.h:1.7 eggdrop1.6/src/tandem.h:1.8
--- eggdrop1.6/src/tandem.h:1.7	Sat Aug 19 09:17:28 2000
+++ eggdrop1.6/src/tandem.h	Wed Apr 11 21:39:43 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * tandem.h
- * 
- * $Id: tandem.h,v 1.7 2000/08/19 14:17:28 fabian Exp $
+ *
+ * $Id: tandem.h,v 1.8 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/tcl.c
diff -u eggdrop1.6/src/tcl.c:1.32 eggdrop1.6/src/tcl.c:1.33
--- eggdrop1.6/src/tcl.c:1.32	Fri Apr  6 17:28:43 2001
+++ eggdrop1.6/src/tcl.c	Wed Apr 11 21:39:43 2001
@@ -1,25 +1,25 @@
-/* 
+/*
  * tcl.c -- handles:
  *   the code for every command eggdrop adds to Tcl
  *   Tcl initialization
  *   getting and setting Tcl/eggdrop variables
- * 
- * $Id: tcl.c,v 1.32 2001/04/06 22:28:43 guppy Exp $
+ *
+ * $Id: tcl.c,v 1.33 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -153,7 +153,7 @@
     }
   /* Do not add logfiles without any flags to log ++rtc */
   if (!logmodes (argv [1])) {
-    Tcl_AppendResult (interp, "can't remove \"", argv[3], 
+    Tcl_AppendResult (interp, "can't remove \"", argv[3],
                      "\" from list: no such logfile", NULL);
     return TCL_ERROR;
   }
@@ -507,7 +507,7 @@
 /* This must be done *BEFORE* Tcl_SetSystemEncoding(),
  * or Tcl_SetSystemEncoding() will cause a segfault.
  */
-#ifndef HAVE_PRE7_5_TCL	
+#ifndef HAVE_PRE7_5_TCL
   /* This is used for 'info nameofexecutable'.
    * The filename in argv[0] must exist in a directory listed in
    * the environment variable PATH for it to register anything.
Index: eggdrop1.6/src/tcldcc.c
diff -u eggdrop1.6/src/tcldcc.c:1.26 eggdrop1.6/src/tcldcc.c:1.27
--- eggdrop1.6/src/tcldcc.c:1.26	Sat Mar 17 17:19:51 2001
+++ eggdrop1.6/src/tcldcc.c	Wed Apr 11 21:39:43 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * tcldcc.c -- handles:
  *   Tcl stubs for the dcc commands
- * 
- * $Id: tcldcc.c,v 1.26 2001/03/17 23:19:51 guppy Exp $
+ *
+ * $Id: tcldcc.c,v 1.27 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -73,9 +73,9 @@
 
 /* Allows tcl scripts to send out raw data. Can be used for fast server
  * write (idx=0)
- * 
+ *
  * usage:
- * 	putdccraw <idx> <size> <rawdata> 
+ * 	putdccraw <idx> <size> <rawdata>
  * example:
  * 	putdccraw 6 13 "eggdrop rulz\n"
  *
Index: eggdrop1.6/src/tclegg.h
diff -u eggdrop1.6/src/tclegg.h:1.11 eggdrop1.6/src/tclegg.h:1.12
--- eggdrop1.6/src/tclegg.h:1.11	Fri Jan 26 15:18:22 2001
+++ eggdrop1.6/src/tclegg.h	Wed Apr 11 21:39:43 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * tclegg.h
  *   stuff used by tcl.c and tclhash.c
- * 
- * $Id: tclegg.h,v 1.11 2001/01/26 21:18:22 guppy Exp $
+ *
+ * $Id: tclegg.h,v 1.12 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -45,7 +45,7 @@
 #define BIND_STACKABLE      0x08
 #define BIND_HAS_BUILTINS   0x10
 #define BIND_WANTRET        0x20
-#define BIND_ALTER_ARGS     0x40 
+#define BIND_ALTER_ARGS     0x40
 
 /* Return values
  */
@@ -144,8 +144,8 @@
   {"Jp_JP",		"shiftjis"},
   {"japan",		"euc-jp"},
 #ifdef hpux
-  {"japanese",		"shiftjis"},	
-  {"ja",		"shiftjis"},	
+  {"japanese",		"shiftjis"},
+  {"ja",		"shiftjis"},
 #else
   {"japanese",		"euc-jp"},
   {"ja",		"euc-jp"},
@@ -162,9 +162,9 @@
   {"ko_KR.eucKR",	"euc-kr"},
   {"korean",		"euc-kr"},
 
-  {"ru",		"iso8859-5"},		
-  {"ru_RU",		"iso8859-5"},		
-  {"ru_SU",		"iso8859-5"},		
+  {"ru",		"iso8859-5"},
+  {"ru_RU",		"iso8859-5"},
+  {"ru_SU",		"iso8859-5"},
 
   {"zh",		"cp936"},
 
Index: eggdrop1.6/src/tclhash.c
diff -u eggdrop1.6/src/tclhash.c:1.25 eggdrop1.6/src/tclhash.c:1.26
--- eggdrop1.6/src/tclhash.c:1.25	Fri Apr  6 17:39:52 2001
+++ eggdrop1.6/src/tclhash.c	Wed Apr 11 21:39:43 2001
@@ -1,4 +1,4 @@
-/* 
+/*
  * tclhash.c -- handles:
  *   bind and unbind
  *   checking and triggering the various in-bot bindings
@@ -6,23 +6,23 @@
  *   adding/removing new binding tables
  *   (non-Tcl) procedure lookups for msg/dcc/file commands
  *   (Tcl) binding internal procedures to msg/dcc/file commands
- * 
- * $Id: tclhash.c,v 1.25 2001/04/06 22:39:52 guppy Exp $
+ *
+ * $Id: tclhash.c,v 1.26 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -257,7 +257,7 @@
 
   /* Do not allow coders to use bind table names longer than
      4 characters. */
-  Assert(strlen(nme) <= 4); 
+  Assert(strlen(nme) <= 4);
 
   for (tl = bind_table_list, tl_prev = NULL; tl; tl_prev = tl, tl = tl->next) {
     if (tl->flags & HT_DELETED)
@@ -1032,7 +1032,7 @@
   Tcl_SetVar(interp, "_time4", (char *) y, 0);
   egg_snprintf(y, sizeof y, "%04d", tm->tm_year + 1900);
   Tcl_SetVar(interp, "_time5", (char *) y, 0);
-  egg_snprintf(y, sizeof y, "%02d %02d %02d %02d %04d", tm->tm_min, tm->tm_hour, 
+  egg_snprintf(y, sizeof y, "%02d %02d %02d %02d %04d", tm->tm_min, tm->tm_hour,
 	       tm->tm_mday, tm->tm_mon, tm->tm_year + 1900);
   check_tcl_bind(H_time, y, 0,
 		 " $_time1 $_time2 $_time3 $_time4 $_time5",
@@ -1091,7 +1091,7 @@
 	  int	ok = 0;
 
           if (patmatc == 1) {
-            if (wild_match(name, tl->name) || 
+            if (wild_match(name, tl->name) ||
                 wild_match(name, tm->mask) ||
                 wild_match(name, tc->func_name))
 	      ok = 1;
Index: eggdrop1.6/src/tclhash.h
diff -u eggdrop1.6/src/tclhash.h:1.7 eggdrop1.6/src/tclhash.h:1.8
--- eggdrop1.6/src/tclhash.h:1.7	Fri Oct 27 14:32:41 2000
+++ eggdrop1.6/src/tclhash.h	Wed Apr 11 21:39:43 2001
@@ -1,22 +1,22 @@
-/* 
+/*
  * tclhash.h
- * 
- * $Id: tclhash.h,v 1.7 2000/10/27 19:32:41 fabian Exp $
+ *
+ * $Id: tclhash.h,v 1.8 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/src/tclmisc.c
diff -u eggdrop1.6/src/tclmisc.c:1.17 eggdrop1.6/src/tclmisc.c:1.18
--- eggdrop1.6/src/tclmisc.c:1.17	Sun Dec 10 09:10:27 2000
+++ eggdrop1.6/src/tclmisc.c	Wed Apr 11 21:39:43 2001
@@ -1,24 +1,24 @@
-/* 
+/*
  * tclmisc.c -- handles:
  *   Tcl stubs for file system commands
  *   Tcl stubs for everything else
- * 
- * $Id: tclmisc.c,v 1.17 2000/12/10 15:10:27 guppy Exp $
+ *
+ * $Id: tclmisc.c,v 1.18 2001/04/12 02:39:43 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -114,8 +114,8 @@
 	if (tc->attributes & TC_DELETED)
 	  continue;
         if (matching &&
-	    !wild_match(argv[1], tl->name) && 
-            !wild_match(argv[1], tm->mask) && 
+	    !wild_match(argv[1], tl->name) &&
+            !wild_match(argv[1], tm->mask) &&
             !wild_match(argv[1], tc->func_name))
           continue;
 	build_flags(flg, &(tc->flags), NULL);
@@ -138,7 +138,7 @@
 {
   unsigned long x;
   char s[16];
- 
+
   BADARGS(3, 3, " minutes command");
   if (atoi(argv[1]) < 0) {
     Tcl_AppendResult(irp, "time value must be positive", NULL);
@@ -282,7 +282,7 @@
   char buf[512];
   struct tm *tm1;
   time_t t;
-  
+
   BADARGS(2, 3, " format ?time?");
   if (argc == 3)
     t = atol(argv[2]);
Index: eggdrop1.6/src/tcluser.c
diff -u eggdrop1.6/src/tcluser.c:1.18 eggdrop1.6/src/tcluser.c:1.19
--- eggdrop1.6/src/tcluser.c:1.18	Thu Dec  7 21:07:38 2000
+++ eggdrop1.6/src/tcluser.c	Wed Apr 11 21:39:44 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * tcluser.c -- handles:
  *   Tcl stubs for the user-record-oriented commands
- * 
- * $Id: tcluser.c,v 1.18 2000/12/08 03:07:38 guppy Exp $
+ *
+ * $Id: tcluser.c,v 1.19 2001/04/12 02:39:44 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -528,7 +528,7 @@
     list_insert((&(u->entries)), e);
   }
   r = et->tcl_set(irp, u, e, argc, argv);
-  /* Yeah... e is freed, and we read it... (tcl: setuser hand HOSTS none) */  
+  /* Yeah... e is freed, and we read it... (tcl: setuser hand HOSTS none) */
   if (!e->u.list) {
     if (list_delete((struct list_type **) &(u->entries),
 		    (struct list_type *) e))
Index: eggdrop1.6/src/userent.c
diff -u eggdrop1.6/src/userent.c:1.19 eggdrop1.6/src/userent.c:1.20
--- eggdrop1.6/src/userent.c:1.19	Sun Feb 25 21:56:18 2001
+++ eggdrop1.6/src/userent.c	Wed Apr 11 21:39:44 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * userent.c -- handles:
  *   user-entry handling, new stylem more versatile.
- * 
- * $Id: userent.c,v 1.19 2001/02/26 03:56:18 guppy Exp $
+ *
+ * $Id: userent.c,v 1.20 2001/04/12 02:39:44 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -129,16 +129,16 @@
     if (l > 160)
       l = 160;
 
-    
+
     e->u.string = user_realloc (e->u.string, l + 1);
-    
+
     strncpyz (e->u.string, string, l + 1);
-    
+
     for (i = e->u.string; *i; i++)
-      /* Allow bold, inverse, underline, color text here... 
+      /* Allow bold, inverse, underline, color text here...
        * But never add cr or lf!! --rtc
        */
-     if ((unsigned int) *i < 32 && !strchr ("\002\003\026\037", *i)) 
+     if ((unsigned int) *i < 32 && !strchr ("\002\003\026\037", *i))
         *i = '?';
   } else { /* string == NULL && e->u.string != NULL */
     nfree(e->u.string);
@@ -392,7 +392,7 @@
   struct chanuserrec *cr;
 
   BADARGS(4, 5, " handle LASTON time ?place?");
-  
+
   if ((argc == 5) && argv[4][0] && strchr(CHANMETA, argv[4][0])) {
     /* Search for matching channel */
     for (cr = u->chanrec; cr; cr = cr->next)
Index: eggdrop1.6/src/userrec.c
diff -u eggdrop1.6/src/userrec.c:1.29 eggdrop1.6/src/userrec.c:1.30
--- eggdrop1.6/src/userrec.c:1.29	Sun Dec 10 09:10:27 2000
+++ eggdrop1.6/src/userrec.c	Wed Apr 11 21:39:44 2001
@@ -1,25 +1,25 @@
-/* 
+/*
  * userrec.c -- handles:
  *   add_q() del_q() str2flags() flags2str() str2chflags() chflags2str()
  *   a bunch of functions to find and change user records
  *   change and check user (and channel-specific) flags
- * 
- * $Id: userrec.c,v 1.29 2000/12/10 15:10:27 guppy Exp $
+ *
+ * $Id: userrec.c,v 1.30 2001/04/12 02:39:44 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -85,7 +85,7 @@
 inline int expmem_mask(struct maskrec *m)
 {
   int result = 0;
-  
+
   while (m) {
     result += sizeof(struct maskrec);
     result += strlen(m->mask) + 1;
@@ -93,10 +93,10 @@
       result += strlen(m->user) + 1;
     if (m->desc)
       result += strlen(m->desc) + 1;
-      
+
     m = m->next;
   }
-  
+
   return result;
 }
 
@@ -148,7 +148,7 @@
     /* Account for each channel's invite-list user */
     tot += expmem_mask(chan->invites);
   }
-  
+
   tot += expmem_mask(global_bans);
   tot += expmem_mask(global_exempts);
   tot += expmem_mask(global_invites);
@@ -263,7 +263,7 @@
 }
 
 /* This will be usefull in a lot of places, much more code re-use so we
- * endup with a smaller executable bot. <cybah> 
+ * endup with a smaller executable bot. <cybah>
  */
 void clear_masks(maskrec *m)
 {
@@ -271,14 +271,14 @@
 
   while (m) {
     temp = m->next;
-      
+
     if (m->mask)
       nfree(m->mask);
     if (m->user)
       nfree(m->user);
     if (m->desc)
       nfree(m->desc);
-	
+
     nfree(m);
     m = temp;
   }
@@ -301,7 +301,7 @@
       dcc[i].user = NULL;
     clear_chanlist();
     lastuser = NULL;
-    
+
     while (global_ign)
       delignore(global_ign->igmask);
 
@@ -314,7 +314,7 @@
       clear_masks(cst->bans);
       clear_masks(cst->exempts);
       clear_masks(cst->invites);
-      
+
       cst->bans = cst->exempts = cst->invites = NULL;
     }
   }
@@ -631,7 +631,7 @@
   } else {
     u->flags = default_flags;
     u->flags_udef = default_uflags;
-  }  
+  }
   set_user(&USERENTRY_PASS, u, pass);
   if (!noxtra) {
     xk = nmalloc(sizeof(struct xtra_key));
@@ -648,7 +648,7 @@
     /* About this fixfrom():
      *   We should use this fixfrom before every call of adduser()
      *   but its much easier to use here...  (drummer)
-     *   Only use it if we have a host :) (dw) 
+     *   Only use it if we have a host :) (dw)
      */
     host = fixfrom(host);
     p = strchr(host, ',');
@@ -665,7 +665,7 @@
   noshare = oldshare;
   if ((!noshare) && (handle[0] != '*') && (!(flags & USER_UNSHARED)) &&
       (bu == userlist)) {
-    struct flag_record fr = {FR_GLOBAL, 0, 0, 0, 0, 0};    
+    struct flag_record fr = {FR_GLOBAL, 0, 0, 0, 0, 0};
     char x[100];
 
     fr.global = u->flags;
@@ -847,7 +847,7 @@
 /*  Go through all channel records and try to find a matching
  *  nick. Will return the user's user record if that is known
  *  to the bot.  (Fabian)
- *  
+ *
  *  Warning: This is unreliable by concept!
  */
 struct userrec *get_user_by_nick(char *nick)
Index: eggdrop1.6/src/users.c
diff -u eggdrop1.6/src/users.c:1.23 eggdrop1.6/src/users.c:1.24
--- eggdrop1.6/src/users.c:1.23	Sun Dec 10 09:10:27 2000
+++ eggdrop1.6/src/users.c	Wed Apr 11 21:39:44 2001
@@ -1,4 +1,4 @@
-/* 
+/*
  * users.c -- handles:
  *   testing and enforcing ignores
  *   adding and removing ignores
@@ -7,25 +7,25 @@
  *   sending and receiving a userfile from a bot
  *   listing users ('.whois' and '.match')
  *   reading the user file
- * 
+ *
  * dprintf'ized, 9nov1995
- * 
- * $Id: users.c,v 1.23 2000/12/10 15:10:27 guppy Exp $
+ *
+ * $Id: users.c,v 1.24 2001/04/12 02:39:44 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
@@ -308,7 +308,7 @@
 {
   char *expi, *add, *last, *user, *desc;
   int flags = 0;
-  
+
   expi = strchr_unescape(host, ':', '\\');
   if (expi) {
       if (*expi == '+') {
@@ -316,10 +316,10 @@
 	expi++;
       }
     add = strchr(expi, ':');
-    if (add) { 
+    if (add) {
       if (add[-1] == '*') {
 	flags |= MASKREC_STICKY;
-	add[-1] = 0;   
+	add[-1] = 0;
       } else
 	*add = 0;
       add++;
@@ -351,7 +351,7 @@
 			desc, atoi(expi), flags, now, 0);
 	  return;
 	}
-      } 
+      }
     }
   }
   putlog(LOG_MISC, "*", "*** Malformed exemptline for %s.",
@@ -362,25 +362,25 @@
 {
   char *expi, *add, *last, *user, *desc;
   int flags = 0;
-  
+
   expi = strchr_unescape(host, ':', '\\');
-  if (expi) { 
-    if (*expi == '+') {  
-      flags |= MASKREC_PERM;  
+  if (expi) {
+    if (*expi == '+') {
+      flags |= MASKREC_PERM;
       expi++;
     }
     add = strchr(expi, ':');
     if (add) {
       if (add[-1] == '*') {
 	flags |= MASKREC_STICKY;
-	add[-1] = 0; 
+	add[-1] = 0;
       } else
 	*add = 0;
       add++;
-      if (*add == '+') { 
+      if (*add == '+') {
 	last = strchr(add, ':');
 	if (last) {
-	  *last = 0;   
+	  *last = 0;
 	  last++;
 	  user = strchr(last, ':');
 	  if (user) {
@@ -620,7 +620,7 @@
   dprintf(idx, MISC_FOUNDMATCH, cnt, cnt == 1 ? "" : "es");
 }
 
-/* 
+/*
  * tagged lines in the user file:
  * * OLD:
  * #  (comment)
@@ -743,7 +743,7 @@
 	    if (lasthand[0] == '#' || lasthand[0] == '+')
 	      restore_chaninvite(cst,s);
 	    else if (lasthand[0] == '*')
-	      if (lasthand[1] == 'I') {  
+	      if (lasthand[1] == 'I') {
 		restore_chaninvite(NULL, s);
 		ginvite_total++;
 	      }
@@ -837,7 +837,7 @@
 	  /* channel-specific invites */
 	  strcpy(lasthand, &code[2]);
 	  u = NULL;
-	  if (!findchan_by_dname(lasthand)) {   
+	  if (!findchan_by_dname(lasthand)) {
 	    strcpy(s1, lasthand);
 	    strcat(s1, " ");
 	    if (strstr(ignored, s1) == NULL) {
@@ -858,7 +858,7 @@
 	      cst = NULL;
 	      lasthand[0] = 0;
 	    }
-	  } 
+	  }
 	} else if (!strncmp(code, "--", 2)) {
 	  if (u) {
 	    /* new format storage */
@@ -961,7 +961,7 @@
       putlog(LOG_MISC, "*", "(!) I have an user record, but without +b");
       /* u->flags |= USER_BOT; */
     }
-    
+
     for (e = u->entries; e; e = e->next)
       if (e->name) {
 	struct user_entry_type *uet = find_entry_type(e->name);
Index: eggdrop1.6/src/users.h
diff -u eggdrop1.6/src/users.h:1.7 eggdrop1.6/src/users.h:1.8
--- eggdrop1.6/src/users.h:1.7	Fri Oct 27 14:32:41 2000
+++ eggdrop1.6/src/users.h	Wed Apr 11 21:39:44 2001
@@ -1,23 +1,23 @@
-/* 
+/*
  * users.h
  *   structures and definitions used by users.c and userrec.c
- * 
- * $Id: users.h,v 1.7 2000/10/27 19:32:41 fabian Exp $
+ *
+ * $Id: users.h,v 1.8 2001/04/12 02:39:44 guppy Exp $
  */
-/* 
- * Copyright (C) 1997  Robey Pointer
- * Copyright (C) 1999, 2000  Eggheads
- * 
+/*
+ * Copyright (C) 1997 Robey Pointer
+ * Copyright (C) 1999, 2000, 2001 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.
Index: eggdrop1.6/text/banner
diff -u eggdrop1.6/text/banner:1.5 eggdrop1.6/text/banner:1.6
--- eggdrop1.6/text/banner:1.5	Sun Nov  5 22:06:45 2000
+++ eggdrop1.6/text/banner	Wed Apr 11 21:39:48 2001
@@ -4,4 +4,5 @@
  |___|\__, |\__, |\__,_||_|  \___/| .__/
       |___/ |___/                 |_|     v1.6
 
-  (c)1997 Robey Pointer (c)1999, 2000 Eggheads
+  Copyright (C) 1997 Robey Pointer
+  Copyright (C) 1999, 2000, 2001 Eggheads Development Team
Index: eggdrop1.6/text/motd
diff -u eggdrop1.6/text/motd:1.7 eggdrop1.6/text/motd:1.8
--- eggdrop1.6/text/motd:1.7	Sun Nov  5 23:57:19 2000
+++ eggdrop1.6/text/motd	Wed Apr 11 21:39:48 2001
@@ -1,4 +1,4 @@
-Connected to %B, running %V  (c)1997 Robey Pointer (c)1999, 2000 Eggheads
+Connected to %B, running %V
      ____                __
     / __/___ _ ___ _ ___/ /____ ___   ___
    / _/ / _ `// _ `// _  // __// _ \ / _ \
@@ -8,8 +8,6 @@
            <  /  / __/
            / /_ / _ \ 
           /_/(_)\___/ 
-
-  (c)1997 Robey Pointer (c)1999, 2000 Eggheads
 
 Hey %b%N!%b  My name is %b%B%b and I am running %b%V%b,
 on %b%U%b.
----------------------- End of diff -----------------------



More information about the Changes mailing list