[cvslog] (2005-07-31 07:02:02 UTC) Module eggdrop1.6: Change committed!

cvslog cvs at tsss.org
Sun Jul 31 01:02:02 CST 2005


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2005-07-31 07:02:01 UTC
Commited by: Will Buckner <wcc at techmonkeys.org>

Modified files:
     eggdrop.conf src/patch.h src/mod/channels.mod/tclchan.c
     src/mod/server.mod/servmsg.c

Log message:

* Fixed previous commit so it won't break scripts. Thanks to lordares.

---------------------- diff included ----------------------
Index: eggdrop1.6/eggdrop.conf
diff -u eggdrop1.6/eggdrop.conf:1.43 eggdrop1.6/eggdrop.conf:1.44
--- eggdrop1.6/eggdrop.conf:1.43	Fri Feb  4 08:15:26 2005
+++ eggdrop1.6/eggdrop.conf	Sun Jul 31 02:01:51 2005
@@ -1,7 +1,7 @@
 #! /path/to/executable/eggdrop
 # ^- This should contain a fully qualified path to your Eggdrop executable.
 #
-# $Id: eggdrop.conf,v 1.43 2005/02/04 14:15:26 tothwolf Exp $
+# $Id: eggdrop.conf,v 1.44 2005/07/31 07:01:51 wcc Exp $
 #
 # This is a sample Eggdrop configuration file which includes all possible
 # settings that can be used to configure your bot.
@@ -784,6 +784,7 @@
 set altnick "Llamab?t"
 
 # Set what should be displayed in the real-name field for the bot on IRC.
+# This can not be blank, it has to contain something.
 set realname "/msg LamestBot hello"
 
 # This is a Tcl script to be run immediately after connecting to a server.
Index: eggdrop1.6/src/mod/channels.mod/tclchan.c
diff -u eggdrop1.6/src/mod/channels.mod/tclchan.c:1.91 eggdrop1.6/src/mod/channels.mod/tclchan.c:1.92
--- eggdrop1.6/src/mod/channels.mod/tclchan.c:1.91	Sun Jul 31 01:32:57 2005
+++ eggdrop1.6/src/mod/channels.mod/tclchan.c	Sun Jul 31 02:01:51 2005
@@ -1,7 +1,7 @@
 /*
  * tclchan.c -- part of channels.mod
  *
- * $Id: tclchan.c,v 1.91 2005/07/31 06:32:57 wcc Exp $
+ * $Id: tclchan.c,v 1.92 2005/07/31 07:01:51 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -955,7 +955,7 @@
     s[120] = 0;
   } else if (!strcmp(setting, "idle-kick"))
     simple_sprintf(s, "%d", chan->idle_kick);
-  else if (!strcmp(setting, "stopnethack-mode"))
+  else if (!strcmp(setting, "stopnethack-mode") || !strcmp(setting, "stop-net-hack"))
     simple_sprintf(s, "%d", chan->stopnethack_mode);
   else if (!strcmp(setting, "revenge-mode"))
     simple_sprintf(s, "%d", chan->revenge_mode);
Index: eggdrop1.6/src/mod/server.mod/servmsg.c
diff -u eggdrop1.6/src/mod/server.mod/servmsg.c:1.86 eggdrop1.6/src/mod/server.mod/servmsg.c:1.87
--- eggdrop1.6/src/mod/server.mod/servmsg.c:1.86	Fri Feb  4 08:15:27 2005
+++ eggdrop1.6/src/mod/server.mod/servmsg.c	Sun Jul 31 02:01:51 2005
@@ -1,7 +1,7 @@
 /*
  * servmsg.c -- part of server.mod
  *
- * $Id: servmsg.c,v 1.86 2005/02/04 14:15:27 tothwolf Exp $
+ * $Id: servmsg.c,v 1.87 2005/07/31 07:01:51 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -1299,6 +1299,8 @@
     if (pass[0])
       dprintf(DP_MODE, "PASS %s\n", pass);
     dprintf(DP_MODE, "NICK %s\n", botname);
+    if (botrealname[0] == 0 || (botrealname[0] == ' ' && botrealname[1] == 0))
+      strcpy(botrealname, "/msg LamestBot hello");
     dprintf(DP_MODE, "USER %s . . :%s\n", botuser, botrealname);
     /* Wait for async result now */
   }
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.1157 eggdrop1.6/src/patch.h:1.1158
--- eggdrop1.6/src/patch.h:1.1157	Sun Jul 31 01:32:57 2005
+++ eggdrop1.6/src/patch.h	Sun Jul 31 02:01:51 2005
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.1157 2005/07/31 06:32:57 wcc Exp $
+ * $Id: patch.h,v 1.1158 2005/07/31 07:01:51 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1122790877");            /* current unixtime */
+patch("1122793286");            /* current unixtime */
 /*
  *
  *
  */
-patch("stopnethack-get");
+patch("stopnethack-get2");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list