[cvslog] Module eggdrop1.7: Change committed

cvslog cvs at tsss.org
Sun Dec 9 15:50:02 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.7
Commit time: 2001-12-09 21:49:51 UTC
Commited by: Jeff Fisher <guppy at techmonkeys.org>

Modified files:
     eggdrop.complete.conf doc/html/mod-server.html
     doc/settings/mod.server modules/server/server.c
     modules/server/servmsg.c modules/server/help/set/server.help

Log message:

serverror-quit has been removed as a config setting

---------------------- diff included ----------------------
Index: eggdrop1.7/doc/html/mod-server.html
diff -u eggdrop1.7/doc/html/mod-server.html:1.14 eggdrop1.7/doc/html/mod-server.html:1.15
--- eggdrop1.7/doc/html/mod-server.html:1.14	Sat Oct 20 02:29:09 2001
+++ eggdrop1.7/doc/html/mod-server.html	Sun Dec  9 15:49:40 2001
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<!-- $Id: mod-server.html,v 1.14 2001/10/20 07:29:09 guppy Exp $ -->
+<!-- $Id: mod-server.html,v 1.15 2001/12/09 21:49:40 guppy Exp $ -->
 
 <html>
   <head>
@@ -177,15 +177,6 @@
           <p>Set this to 1 if eggdrop should check for stoned servers? (i.e.
           Where the server connection has died, but eggdrop hasn&#39;t been
           notified yet).</p>
-
-          <p>Valid settings are 0 and 1.</p>
-        </dd>
-
-        <dt><strong><em>set serverror-quit 1</em></strong></dt>
-
-        <dd>
-          <p>If you want your bot to exit the server if it receives a error
-          msg set this to 1</p>
 
           <p>Valid settings are 0 and 1.</p>
         </dd>
Index: eggdrop1.7/doc/settings/mod.server
diff -u eggdrop1.7/doc/settings/mod.server:1.13 eggdrop1.7/doc/settings/mod.server:1.14
--- eggdrop1.7/doc/settings/mod.server:1.13	Sat Oct 20 02:29:09 2001
+++ eggdrop1.7/doc/settings/mod.server	Sun Dec  9 15:49:41 2001
@@ -95,12 +95,6 @@
     Valid settings are 0 for OFF and 1 ON.
 
 
-set serverror-quit 1
-    If you want your bot to exit the server if it receives a error msg set
-    this to 1
-    Valid settings are 0 for OFF and 1 ON.
-
-
 set max-queue-msg 300
     Set here the maximum number of lines to queue to the server. If you're
     going to dump large chunks of text to people over irc, you will probably
Index: eggdrop1.7/eggdrop.complete.conf
diff -u eggdrop1.7/eggdrop.complete.conf:1.56 eggdrop1.7/eggdrop.complete.conf:1.57
--- eggdrop1.7/eggdrop.complete.conf:1.56	Sun Dec  9 15:46:01 2001
+++ eggdrop1.7/eggdrop.complete.conf	Sun Dec  9 15:49:40 2001
@@ -1,7 +1,7 @@
 #! /path/to/executable/eggdrop
 # ^- set that to the directory eggdrop is in i.e. "#! /home/lamest/egg/eggdrop"
 #
-# $Id: eggdrop.complete.conf,v 1.56 2001/12/09 21:46:01 guppy Exp $
+# $Id: eggdrop.complete.conf,v 1.57 2001/12/09 21:49:40 guppy Exp $
 #
 # This config file includes all possible options you can
 # use to configure your bot properly.
@@ -729,9 +729,6 @@
 # [0/1] check for stoned servers? (i.e. Where the server connection has
 # died, but eggdrop hasn't been notified yet).
 set check-stoned 1
-
-# [0/1] exit if the server sends a ERROR message?
-set serverror-quit 1
 
 # maximum number of lines to queue to the server.
 # if you're going to dump large chunks of text to people over irc,  you
Index: eggdrop1.7/modules/server/help/set/server.help
diff -u eggdrop1.7/modules/server/help/set/server.help:1.2 eggdrop1.7/modules/server/help/set/server.help:1.3
--- eggdrop1.7/modules/server/help/set/server.help:1.2	Mon Dec  3 19:30:35 2001
+++ eggdrop1.7/modules/server/help/set/server.help	Sun Dec  9 15:49:41 2001
@@ -65,11 +65,6 @@
    This setting, when enabled, will cause the bot to ping the server
    occasionally to make sure it's actually still connected. It also
    provides a 'lag-meter'. This is slightly broken on IRCNet.
-%{help=set serverror-quit}%{+n}
-###  %bset serverror-quit%b 0/1
-   Enabling this will cause the bot to assume that an ERROR message
-   from the server indicates it's about to drop the connection,
-   and so the bot closes the server connection immediately.
 %{help=set quiet-reject}%{+n}
 ###  %bset quiet-reject%b 0/1
    Some of the message & ctcp commands return negative messages to
@@ -168,6 +163,6 @@
      %bmax-queue-msg%b        %bstrict-host%b    %bbotnick%b
      %bserver-timeout%b       %bservers%b        %bkeep-nick%b
      %bstrict-servernames%b   %bbotname%b        %bquiet-reject%b
-     %bserverror-quit%b       %banswer-ctcp%b    %baltnick%b
+     %banswer-ctcp%b          %baltnick%b        %bflood-msg%b
      %btrigger-on-ignore%b    %bdefault-port%b   %brealname%b
-     %bserver-cycle-wait%b    %bcheck-stoned%b   %bflood-msg%b
+     %bserver-cycle-wait%b    %bcheck-stoned%b
Index: eggdrop1.7/modules/server/server.c
diff -u eggdrop1.7/modules/server/server.c:1.2 eggdrop1.7/modules/server/server.c:1.3
--- eggdrop1.7/modules/server/server.c:1.2	Mon Dec  3 19:30:35 2001
+++ eggdrop1.7/modules/server/server.c	Sun Dec  9 15:49:41 2001
@@ -2,7 +2,7 @@
  * server.c -- part of server.mod
  *   basic irc server support
  *
- * $Id: server.c,v 1.2 2001/12/04 01:30:35 ite Exp $
+ * $Id: server.c,v 1.3 2001/12/09 21:49:41 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -55,8 +55,6 @@
 				   nickname? */
 static int nick_juped = 0;	/* True if origbotname is juped(RPL437) (dw) */
 static int check_stoned;	/* Check for a stoned server? */
-static int serverror_quit;	/* Disconnect from server if ERROR
-				   messages received? */
 static int quiet_reject;	/* Quietly reject dcc chat or sends from
 				   users without access? */
 static int waiting_for_awake;	/* set when i unidle myself, cleared when
@@ -1289,7 +1287,6 @@
   {"keep-nick",			&keepnick,			0},
   {"strict-servernames",	&strict_servernames,		0},
   {"check-stoned",		&check_stoned,			0},
-  {"serverror-quit",		&serverror_quit,		0},
   {"quiet-reject",		&quiet_reject,			0},
   {"max-queue-msg",		&maxqmsg,			0},
   {"trigger-on-ignore",		&trigger_on_ignore,		0},
@@ -1752,7 +1749,6 @@
   botuserhost[0] = 0;
   keepnick = 1;
   check_stoned = 1;
-  serverror_quit = 1;
   quiet_reject = 1;
   waiting_for_awake = 0;
   server_online = 0;
Index: eggdrop1.7/modules/server/servmsg.c
diff -u eggdrop1.7/modules/server/servmsg.c:1.2 eggdrop1.7/modules/server/servmsg.c:1.3
--- eggdrop1.7/modules/server/servmsg.c:1.2	Sun Dec  2 09:15:04 2001
+++ eggdrop1.7/modules/server/servmsg.c	Sun Dec  9 15:49:41 2001
@@ -1,7 +1,7 @@
 /*
  * servmsg.c -- part of server.mod
  *
- * $Id: servmsg.c,v 1.2 2001/12/02 15:15:04 ite Exp $
+ * $Id: servmsg.c,v 1.3 2001/12/09 21:49:41 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -793,10 +793,8 @@
 {
   fixcolon(msg);
   putlog(LOG_SERV | LOG_MSGS, "*", "-ERROR from server- %s", msg);
-  if (serverror_quit) {
-    putlog(LOG_SERV, "*", "Disconnecting from server.");
-    nuke_server("Bah, stupid error messages.");
-  }
+  putlog(LOG_SERV, "*", "Disconnecting from server.");
+  nuke_server("Bah, stupid error messages.");
   return 1;
 }
 
----------------------- End of diff -----------------------



More information about the Changes mailing list