[cvslog] (2003-01-30 00:41:34 UTC) Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Wed Jan 29 18:42:00 CST 2003


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2003-01-30 00:41:34 UTC
Commited by: Will Buckner <wcc at techmonkeys.org>

Modified files:
     eggdrop.conf doc/UPDATES1.6 doc/html/mod-irc.html
     doc/html/mod-server.html doc/settings/mod.irc
     doc/settings/mod.server src/mod/irc.mod/irc.c
     src/mod/server.mod/server.h

Log message:

* Config file/doc updates.
* Changed EFnet's max-bans/max-modes to 25.

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.452 eggdrop1.6/doc/UPDATES1.6:1.453
--- eggdrop1.6/doc/UPDATES1.6:1.452	Tue Jan 28 01:52:08 2003
+++ eggdrop1.6/doc/UPDATES1.6	Wed Jan 29 18:41:24 2003
@@ -1,10 +1,11 @@
-$Id: UPDATES1.6,v 1.452 2003/01/28 07:52:08 wcc Exp $
+$Id: UPDATES1.6,v 1.453 2003/01/30 00:41:24 wcc Exp $
 
 Changes in Eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.14
 Found by  Fixed by  What...
+          Wcc       changed EFnet's max-bans/max-modes to 25
 Tothwolf  Wcc       moved debug-output and use-console-r to the logging section
                     of the config file where they belong
 Tothwolf  Wcc       don't tell users to /msg the bot hello when they don't have
Index: eggdrop1.6/doc/html/mod-irc.html
diff -u eggdrop1.6/doc/html/mod-irc.html:1.17 eggdrop1.6/doc/html/mod-irc.html:1.18
--- eggdrop1.6/doc/html/mod-irc.html:1.17	Mon Dec 23 20:30:02 2002
+++ eggdrop1.6/doc/html/mod-irc.html	Wed Jan 29 18:41:24 2003
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<!-- $Id: mod-irc.html,v 1.17 2002/12/24 02:30:02 wcc Exp $ -->
+<!-- $Id: mod-irc.html,v 1.18 2003/01/30 00:41:24 wcc Exp $ -->
 
 <html>
   <head>
@@ -52,16 +52,18 @@
         <dt><strong>set max-modes 30</strong></dt>
 
         <dd>
-          <p>Set here the global limit for +b/+e/+I modes on your IRC server.
-          This limit is set to 30 on 2.10 IRCd servers.</p>
+          <p>There is a global limit for +b/+e/+I modes. This limit should be
+          set to the same value as max-bans for networks that do not support
+          +e/+I.</p>
         </dd>
 
         <dt><strong>set max-bans 20</strong></dt>
 
         <dd>
-          <p> Set here the maximum number of bans you want the bot to set on a
+          <p>Set here the maximum number of bans you want the bot to set on a
           channel. Eggdrop will not place any more bans if this limit is
-          reached.</p>
+          reached. Undernet currently allows 45 bans, IRCnet allows 30, EFnet
+          allows 25, and DALnet allows 100.</p>
         </dd>
 
         <dt><strong>set kick-fun 0</strong></dt>
Index: eggdrop1.6/doc/html/mod-server.html
diff -u eggdrop1.6/doc/html/mod-server.html:1.24 eggdrop1.6/doc/html/mod-server.html:1.25
--- eggdrop1.6/doc/html/mod-server.html:1.24	Tue Jan 28 00:37:24 2003
+++ eggdrop1.6/doc/html/mod-server.html	Wed Jan 29 18:41:24 2003
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<!-- $Id: mod-server.html,v 1.24 2003/01/28 06:37:24 wcc Exp $ -->
+<!-- $Id: mod-server.html,v 1.25 2003/01/30 00:41:24 wcc Exp $ -->
 
 <html>
   <head>
@@ -48,7 +48,7 @@
            1 = IRCnet<br>
            2 = Undernet<br>
            3 = Dalnet<br>
-           4 = Efnet +e/+I Hybrid<br>
+           4 = +e/+I Hybrid<br>
            5 = Others</p>
         </dd>
 
Index: eggdrop1.6/doc/settings/mod.irc
diff -u eggdrop1.6/doc/settings/mod.irc:1.13 eggdrop1.6/doc/settings/mod.irc:1.14
--- eggdrop1.6/doc/settings/mod.irc:1.13	Mon Dec 23 20:30:04 2002
+++ eggdrop1.6/doc/settings/mod.irc	Wed Jan 29 18:41:24 2003
@@ -1,5 +1,5 @@
 IRC Module
-Last revised: February 28, 2002
+Last revised: January 28, 2003
      _________________________________________________________________
 
                                 IRC Module
@@ -27,13 +27,15 @@
   
   
   set max-modes 30
-    Set here the global limit for +b/+e/+I modes on your IRC server. This
-    limit is set to 30 on 2.10 IRCd servers.
+    There is a global limit for +b/+e/+I modes. This limit should be set to the
+    same value as max-bans for networks that do not support +e/+I.
   
   
   set max-bans 20
     Set here the maximum number of bans you want the bot to set on a channel.
-    Eggdrop will not place any more bans if this limit is reached.
+    Eggdrop will not place any more bans if this limit is reached. Undernet
+    currently allows 45 bans, IRCnet allows 30, EFnet allows 25, and DALnet
+    allows 100.
   
   
   set kick-fun 0
Index: eggdrop1.6/doc/settings/mod.server
diff -u eggdrop1.6/doc/settings/mod.server:1.22 eggdrop1.6/doc/settings/mod.server:1.23
--- eggdrop1.6/doc/settings/mod.server:1.22	Tue Jan 28 00:37:24 2003
+++ eggdrop1.6/doc/settings/mod.server	Wed Jan 29 18:41:24 2003
@@ -24,7 +24,7 @@
       1 = IRCnet
       2 = Undernet
       3 = DALnet
-      4 = EFnet +e/+I Hybrid
+      4 = +e/+I Hybrid
       5 = Others
 
 
Index: eggdrop1.6/eggdrop.conf
diff -u eggdrop1.6/eggdrop.conf:1.14 eggdrop1.6/eggdrop.conf:1.15
--- eggdrop1.6/eggdrop.conf:1.14	Tue Jan 28 17:14:50 2003
+++ eggdrop1.6/eggdrop.conf	Wed Jan 29 18:41:24 2003
@@ -1,16 +1,19 @@
 #! /path/to/executable/eggdrop
 # ^- This should contain a fully qualified path to your Eggdrop executable.
 #
-# $Id: eggdrop.conf,v 1.14 2003/01/28 23:14:50 wcc Exp $
+# $Id: eggdrop.conf,v 1.15 2003/01/30 00:41:24 wcc Exp $
 #
 # This is a sample Eggdrop configuration file which includes all possible
 # settings that can be used to configure your bot.
 #
 # The pound signs (#) that you see at the beginning of some lines mean that
-# the remainder of that line is a comment, or just for your information.  By
+# the remainder of that line is a comment, or just for your information. By
 # adding or deleting pound signs, you can comment or uncomment a setting,
 # respectively.
 #
+# Arguments for a command or setting may be inclosed in <>'s or []'s in the
+# example/description. Arguments in <>'s are required, while [] means optional.
+#
 # More detailed descriptions of all these settings can be found in
 # doc/settings/.
 
@@ -140,8 +143,8 @@
 
 # If you want to keep your logfiles forever, turn this setting on. All
 # logfiles will get suffix ".[day, 2 digits][month, 3 letters][year, 4 digits]".
-# Note that your quota/hard-disk might be filled by this, so check your logfiles
-# often and download them.
+# Note that your quota/hard-disk might be filled by this, so check your
+# logfiles often and download them.
 set keep-all-logs 0
 
 # If keep-all-logs is 1, this setting will define the suffix of the logfiles.
@@ -284,8 +287,8 @@
 # setting must be set to 0 to use this.
 set open-telnets 0
 
-# If you don't want Eggdrop to identify itself as an eggdrop on a telnet connection,
-# set this setting to 1. Eggdrop will display 'Nickname' instead.
+# If you don't want Eggdrop to identify itself as an eggdrop on a telnet
+# connection, set this setting to 1. Eggdrop will display 'Nickname' instead.
 set stealth-telnets 0
 
 # If you want Eggdrop to display a banner when telneting in, set this setting
@@ -315,15 +318,15 @@
 
 ##### MORE ADVANCED SETTINGS #####
 
-# Set this to your socks host if your Eggdrop sits behind a firewall.
-# If you use a Sun "telnet passthru" firewall, use this setting:
+# Set this to your socks host if your Eggdrop sits behind a firewall. If
+# you use a Sun "telnet passthru" firewall, prefix the host with a '!'.
 #set firewall "!sun-barr.ebay:3666"
 
 # If you have a NAT firewall (you box has an IP in one of the following
 # ranges: 192.168.0.0-192.168.255.255, 172.16.0.0-172.31.255.255,
 # 10.0.0.0-10.255.255.255 and your firewall transparently changes your
 # address to a unique address for your box) or you have IP masquerading
-# between you and the rest of the world, and /dcc chat,/ctcp chat or
+# between you and the rest of the world, and /dcc chat, /ctcp chat or
 # userfile sharing aren't working, enter your outside IP here. Do not
 # enter anything for my-ip or my-hostname if you use this setting.
 #set nat-ip "127.0.0.1"
@@ -337,9 +340,10 @@
 set ignore-time 15
 
 # Define here what Eggdrop considers 'hourly'. All calls to it, including such
-# things as note notifying or userfile saving, are affected by this. For example:
+# things as note notifying or userfile saving, are affected by this.
+# For example:
 #
-# set hourly-updates 15
+#   set hourly-updates 15
 #
 # The bot will save its userfile 15 minutes past every hour.
 set hourly-updates 00
@@ -379,9 +383,9 @@
 # use .dump, then set this to 2.
 set must-be-owner 1
 
-# Comment out this line to add the 'simul' partyline command (owners
-# can manipulate other people on the party line). Please select owners
-# wisely and use this command ethically!
+# Comment out this line to add the 'simul' partyline command (owners can
+# manipulate other people on the party line). Please select owners wisely
+# and use this command ethically!
 unbind dcc n simul *dcc:simul
 
 # Set here the maximum number of dcc connections you will allow. You can
@@ -429,6 +433,7 @@
 # resolve, which will often let it timeout on all other connections.
 loadmodule dns
 
+
 #### CHANNELS MODULE ####
 
 # This module provides channel related support for the bot. Without it,
@@ -768,27 +773,29 @@
 #   1 = IRCnet
 #   2 = Undernet
 #   3 = DALnet
-#   4 = EFnet +e/+I Hybrid
+#   4 = +e/+I Hybrid
 #   5 = Others
 set net-type 0
 
-# Set the nick the bot uses on IRC, and on the botnet
-# unless you specify a separate botnet-nick, here.
-
+# Set the nick the bot uses on IRC, and on the botnet unless you specify a
+# separate botnet-nick, here.
 set nick "Lamestbot"
 
 # Set the alternative nick which the bot uses on IRC if the nick specified
 # by 'set nick' is unavailable. All '?' characters will be replaced by random
 # numbers.
-
 set altnick "Llamab?t"
 
 # Set what should be displayed in the real-name field for the bot on IRC.
 set realname "/msg LamestBot hello"
 
-# Set here a script to run (if any) when first connecting to a server.
-# This is limited to 120 characters.
-set init-server { putserv "MODE $botnick +i-ws" }
+# This is a Tcl script to be run when connecting to a server.
+bind event - init-server event:init_server
+
+proc event:init_server {type} {
+  global botnick
+  putquick "MODE $botnick +i-ws"
+}
 
 # Set the default port which should be used if none is specified with
 # '.jump' or in 'set servers'.
@@ -813,8 +820,8 @@
 # primary nickname is already in use.
 set keep-nick 1
 
-# Set this to 1 if you don't want your the bot to strip a leading '~'
-# on user at hosts.
+# Set this to 1 if you don't want your the bot to strip a leading '~' on
+# user at hosts.
 set strict-host 0
 
 # This setting makes the bot squelch the error message when rejecting a DCC
@@ -902,15 +909,15 @@
 
 ### SERVER MODULE - OTHER NETWORKS (net-type 5) ###
 
-# This settings defines how umode +r is understood by Eggdrop. Some
-# networks use +r to indicate a restricted connection. If this is your
-# case, and you want your bot to leave restricted servers and jump to
-# the next server on its list, then set it to 1.
+# This settings defines how umode +r is understood by Eggdrop. Some networks
+# use +r to indicate a restricted connection. If this is your case, and you
+# want your bot to leave restricted servers and jump to the next server on its
+# list, then set it to 1.
 #set check-mode-r 1
 
-# This setting allows you to specify the maximum nick-length supported by
-# your network. The default setting is 9. The maximum supported length by
-# Eggdrop is 32.
+# This setting allows you to specify the maximum nick-length supported by your
+# network. The default setting is 9. The maximum supported length by Eggdrop
+# is 32.
 #set nick-len 9
 
 #### CTCP MODULE ####
@@ -949,7 +956,7 @@
 
 # Set here the maximum number of bans you want the bot to set on a channel.
 # Eggdrop will not place any more bans if this limit is reached. Undernet
-# currently allows 45 bans, IRCnet allows 30, EFnet allows 20, and DALnet
+# currently allows 45 bans, IRCnet allows 30, EFnet allows 25, and DALnet
 # allows 100.
 set max-bans 20
 
@@ -972,9 +979,9 @@
 # 'hello' msg command, set this to 1.
 set learn-users 0
 
-# Set here the time (in seconds) to wait for someone to return from
-# a netsplit (i.e. wasop will expire afterwards). Set this to 1500
-# on IRCnet since its nick delay stops after 30 minutes.
+# Set here the time (in seconds) to wait for someone to return from a netsplit
+# (i.e. wasop will expire afterwards). Set this to 1500 on IRCnet since its
+# nick delay stops after 30 minutes.
 set wait-split 600
 
 # Set here the time (in seconds) that someone must have been off-channel
@@ -1011,19 +1018,19 @@
 # Attention: Use these settings *only* if you set 'net-type' to 1!
 
 # Set this to 1 if you want to bounce all server exemptions (+e modes).
+# This is disabled is use-exempts is disabled.
 set bounce-exempts 0
 
 # Set this to 1 if you want to bounce all server invitations (+I modes).
+# This is disabled is use-invites is disabled.
 set bounce-invites 0
 
-# Set here the maximum number of exempts you want Eggdrop to set
-# on a channel. Eggdrop will not place any more exempts if this
-# limit is reached.
+# Set here the maximum number of exempts you want Eggdrop to set on a channel.
+# Eggdrop will not place any more exempts if this limit is reached.
 set max-exempts 20
 
-# Set here the maximum number of invites you want Eggdrop to set
-# on a channel. Eggdrop will not place any more invites if this
-# limit is reached.
+# Set here the maximum number of invites you want Eggdrop to set on a channel.
+# Eggdrop will not place any more invites if this limit is reached.
 set max-invites 20
 
 # The following settings should be left commented unless the default values
@@ -1032,15 +1039,15 @@
 # the following 2 flags. If your network doesn't support +e/+I modes then you
 # will be unable to use these features.
 #
-# Do you want to enable exempts?
+# Do you want to enable exempts (+e modes)?
 #set use-exempts 0
 
-# Do you want to use invites?
+# Do you want to enable invites (+I modes)?
 #set use-invites 0
 
-# At the moment, the current IRCnet IRCd version (2.10) doesn't support the mixing
-# of b,o and v modes with e and I modes. This might be changed in the future, so
-# use 1 at the moment for this setting.
+# At the moment, the current IRCnet IRCd version (2.10) doesn't support the
+# mixing of b,o and v modes with e and I modes. This might be changed in the
+# future, so use 1 at the moment for this setting.
 set prevent-mixing 1
 
 ### IRC MODULE - OTHER NETWORKS (net-type 5) ###
@@ -1097,8 +1104,7 @@
 # set this to 0.
 set copy-to-tmp 1
 
-# Set here the time (in seconds) to wait before an inactive transfer
-# times out.
+# Set here the time (in seconds) to wait before an inactive transfer times out.
 set xfer-timeout 30
 
 
@@ -1155,8 +1161,8 @@
 # the following line to the compress module.
 #loadmodule compress
 
-# Allow compressed sending of user files? The user files are
-# compressed with the compression level defined in `compress-level'.
+# Allow compressed sending of user files? The user files are compressed with
+# the compression level defined in `compress-level'.
 set share-compressed 1
 
 # This is the default compression level used.
@@ -1202,31 +1208,31 @@
 
 #### NOTES MODULE ####
 
-# This module provides support for storing of notes for users from each
-# other. Note sending between currently online users is supported in the
-# core, this is only for storing the notes for later retrieval.
+# This module provides support for storing of notes for users from each other.
+# Note sending between currently online users is supported in the core, this is
+# only for storing the notes for later retrieval.
 loadmodule notes
 
 # Set here the filename where private notes between users are stored.
 set notefile "LamestBot.notes"
 
-# Set here the maximum number of notes to allow to be stored for
-# each user (to prevent flooding).
+# Set here the maximum number of notes to allow to be stored for each user
+# (to prevent flooding).
 set max-notes 50
 
 # Set here how long (in days) to store notes before expiring them.
 set note-life 60
 
-# Set this to 1 if you want to allow users to specify a forwarding
-# address for forwarding notes to another account on another bot.
+# Set this to 1 if you want to allow users to specify a forwarding address
+# for forwarding notes to another account on another bot.
 set allow-fwd 0
 
-# Set this to 1 if you want the bot to let people know hourly if they
-# have any notes.
+# Set this to 1 if you want the bot to let people know hourly if they have
+# any notes.
 set notify-users 1
 
-# Set this to 1 if you want the bot to let people know on join if they
-# have any notes.
+# Set this to 1 if you want the bot to let people know on join if they have
+# any notes.
 set notify-onjoin 1
 
 # Comment out this next line. Otherwise, your bot won't start.
Index: eggdrop1.6/src/mod/irc.mod/irc.c
diff -u eggdrop1.6/src/mod/irc.mod/irc.c:1.86 eggdrop1.6/src/mod/irc.mod/irc.c:1.87
--- eggdrop1.6/src/mod/irc.mod/irc.c:1.86	Tue Jan 28 00:37:26 2003
+++ eggdrop1.6/src/mod/irc.mod/irc.c	Wed Jan 29 18:41:24 2003
@@ -2,7 +2,7 @@
  * irc.c -- part of irc.mod
  *   support for channels within the bot
  *
- * $Id: irc.c,v 1.86 2003/01/28 06:37:26 wcc Exp $
+ * $Id: irc.c,v 1.87 2003/01/30 00:41:24 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -983,8 +983,8 @@
     use_354 = 0;
     use_exempts = 0;
     use_invites = 0;
-    max_bans = 20;
-    max_modes = 20;
+    max_bans = 25;
+    max_modes = 25;
     rfc_compliant = 1;
     include_lk = 0;
     break;
Index: eggdrop1.6/src/mod/server.mod/server.h
diff -u eggdrop1.6/src/mod/server.mod/server.h:1.17 eggdrop1.6/src/mod/server.mod/server.h:1.18
--- eggdrop1.6/src/mod/server.mod/server.h:1.17	Tue Jan 28 23:48:42 2003
+++ eggdrop1.6/src/mod/server.mod/server.h	Wed Jan 29 18:41:24 2003
@@ -1,7 +1,7 @@
 /*
  * server.h -- part of server.mod
  *
- * $Id: server.h,v 1.17 2003/01/29 05:48:42 wcc Exp $
+ * $Id: server.h,v 1.18 2003/01/30 00:41:24 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -97,11 +97,11 @@
 
 /* Available net types.  */
 enum {
-  NETT_EFNET = 0,               /* EFnet non +e/+I Hybrid. */
-  NETT_IRCNET = 1,              /* IRCnet.                 */
-  NETT_UNDERNET = 2,            /* UnderNet.               */
-  NETT_DALNET = 3,              /* DALnet.                 */
-  NETT_HYBRID_EFNET = 4         /* EFnet +e/+I Hybrid.     */
+  NETT_EFNET = 0,               /* EFnet (non +e/+I Hybrid.) */
+  NETT_IRCNET = 1,              /* IRCnet.                   */
+  NETT_UNDERNET = 2,            /* UnderNet.                 */
+  NETT_DALNET = 3,              /* DALnet.                   */
+  NETT_HYBRID_EFNET = 4         /* +e/+I Hybrid.             */
 } nett_t;
 
 #endif /* _EGG_MOD_SERVER_SERVER_H */
----------------------- End of diff -----------------------



More information about the Changes mailing list