[cvslog] (2002-06-18 06:14:59 UTC) Module eggdrop1.7: Change committed

cvslog cvs at tsss.org
Tue Jun 18 01:15:03 CST 2002


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.7
Commit time: 2002-06-18 06:14:59 UTC
Commited by: Jeff Fisher <guppy at techmonkeys.org>

Removed files:
     modules/woobie/.cvsignore modules/woobie/Makefile.am
     modules/woobie/modinfo modules/woobie/woobie.c

Log message:

oops ... I should really remove woobie

---------------------- diff included ----------------------
Index: eggdrop1.7/modules/woobie/.cvsignore
diff -u eggdrop1.7/modules/woobie/.cvsignore:1.1 eggdrop1.7/modules/woobie/.cvsignore:removed
--- eggdrop1.7/modules/woobie/.cvsignore:1.1	Sat Oct 27 11:34:54 2001
+++ eggdrop1.7/modules/woobie/.cvsignore	Tue Jun 18 01:14:59 2002
@@ -1,8 +0,0 @@
-Makefile
-Makefile.in
-.deps
-.libs
-*.o
-*.lo
-*.la
-*.obj
Index: eggdrop1.7/modules/woobie/Makefile.am
diff -u eggdrop1.7/modules/woobie/Makefile.am:1.4 eggdrop1.7/modules/woobie/Makefile.am:removed
--- eggdrop1.7/modules/woobie/Makefile.am:1.4	Thu Jan  3 20:56:25 2002
+++ eggdrop1.7/modules/woobie/Makefile.am	Tue Jun 18 01:14:59 2002
@@ -1,19 +0,0 @@
-# $Id: Makefile.am,v 1.4 2002/01/04 02:56:25 ite Exp $
-
-# FIXME: optionally allow a system wide install by ignoring the line below.
-pkglibdir		= $(exec_prefix)/modules
-
-pkglib_LTLIBRARIES	= woobie.la
-woobie_la_SOURCES	= woobie.c
-woobie_la_LDFLAGS	= -module -avoid-version -no-undefined
-woobie_la_LIBADD	= @TCL_LIBS@ @LIBS@ \
-			$(top_builddir)/lib/eggdrop/libeggdrop.la
-
-MAINTAINERCLEANFILES	= Makefile.in
-
-INCLUDES		= -I$(top_builddir) -I$(top_srcdir) @INCLTDL@ \
-			-I$(top_builddir)/intl -I$(top_srcdir)/intl \
-			-I$(top_builddir)/lib \
-			-I$(top_srcdir)/lib
-
-DEFS			= $(EGG_DEBUG) @DEFS@
Index: eggdrop1.7/modules/woobie/modinfo
diff -u eggdrop1.7/modules/woobie/modinfo:1.1 eggdrop1.7/modules/woobie/modinfo:removed
--- eggdrop1.7/modules/woobie/modinfo:1.1	Sat Oct 27 11:34:54 2001
+++ eggdrop1.7/modules/woobie/modinfo	Tue Jun 18 01:14:59 2002
@@ -1,4 +0,0 @@
-DESC:This module is for demonstrative purposes only.
-DESC:
-DESC:Only programmers interested in module programming might want to enable
-DESC:this module. Everyone else will DISABLE it.
Index: eggdrop1.7/modules/woobie/woobie.c
diff -u eggdrop1.7/modules/woobie/woobie.c:1.6 eggdrop1.7/modules/woobie/woobie.c:removed
--- eggdrop1.7/modules/woobie/woobie.c:1.6	Fri May 17 02:29:25 2002
+++ eggdrop1.7/modules/woobie/woobie.c	Tue Jun 18 01:14:59 2002
@@ -1,126 +0,0 @@
-/*
- * woobie.c --
- *
- *	nonsensical command to exemplify module programming
- *
- * Originally written by ButchBub	  15 July     1997
- * Comments by Fabian Knittel		  29 December 1999
- */
-/*
- * Copyright (C) 1999, 2000, 2001, 2002 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.
- */
-
-#ifndef lint
-static const char rcsid[] = "$Id: woobie.c,v 1.6 2002/05/17 07:29:25 stdarg Exp $";
-#endif
-
-#define MODULE_NAME "woobie"
-#define MAKING_WOOBIE
-#include "lib/eggdrop/module.h"
-#include <stdlib.h>
-
-#define start woobie_LTX_start
-
-/* Pointer to the eggdrop core function table. Gets initialized in
- * woobie_start().
- */
-static eggdrop_t *egg = NULL;
-
-static int cmd_woobie(struct userrec *u, int idx, char *par)
-{
-  /* Log the command as soon as you're sure all parameters are valid. */
-  putlog(LOG_CMDS, "*", "#%s# woobie", dcc[idx].nick);
-
-  dprintf(idx, "WOOBIE!\n");
-  return 0;
-}
-
-/* A report on the module status.
- *
- * details is either 0 or 1:
- *    0 - `.status'
- *    1 - `.status all'  or  `.module woobie'
- */
-static void woobie_report(int idx, int details)
-{
-}
-
-/* Note: The tcl-name is automatically created if you set it to NULL. In
- *       the example below it would be just "*dcc:woobie". If you specify
- *       "woobie:woobie" it would be "*dcc:woobie:woobie" instead.
- *               ^----- command name   ^--- table name
- *        ^------------ module name
- */
-static cmd_t mydcc[] =
-{
-  /* command	flags	function	tcl-name */
-  {"woobie",	"",	cmd_woobie,	NULL},
-  {NULL,	NULL,	NULL,		NULL}		/* Mark end. */
-};
-
-static char *woobie_close()
-{
-  rem_builtins("dcc", mydcc);
-  module_undepend(MODULE_NAME);
-  return NULL;
-}
-
-/* Define the prototype here, to avoid warning messages in the
- * woobie_table.
- */
-EXPORT_SCOPE char *woobie_start();
-
-/* This function table is exported and may be used by other modules and
- * the core.
- *
- * The first four have to be defined (you may define them as NULL), as
- * they are checked by eggdrop core.
- */
-static Function woobie_table[] =
-{
-  (Function) woobie_start,
-  (Function) woobie_close,
-  (Function) 0,
-  (Function) woobie_report,
-};
-
-char *woobie_start(eggdrop_t *eggdrop)
-{
-  /* Assign the core function table. After this point you use all normal
-   * functions defined in src/mod/modules.h
-   */
-  egg = eggdrop;
-
-  /* Register the module. */
-  module_register(MODULE_NAME, woobie_table, 2, 0);
-  /*                                            ^--- minor module version
-   *                                         ^------ major module version
-   *                           ^-------------------- module function table
-   *              ^--------------------------------- module name
-   */
-
-  if (!module_depend(MODULE_NAME, "eggdrop", 107, 0)) {
-    module_undepend(MODULE_NAME);
-    return "This module requires eggdrop1.7.0 or later";
-  }
-
-  /* Add command table to the "dcc" table, responsible for dcc commands.
-   * Currently we only add one command, `woobie'.
-   */
-  add_builtins("dcc", mydcc);
-  return NULL;
-}
----------------------- End of diff -----------------------



More information about the Changes mailing list