final tidy ups

This commit is contained in:
Mark 2004-02-16 21:39:17 +00:00
parent 8733446e77
commit 30a0f6fee9
5 changed files with 41 additions and 4 deletions

1
.gitattributes vendored
View file

@ -42,6 +42,7 @@ flex/warez.l -text
/redneck.c -text
/s_help.c -text
/ss.c -text
/ss.h -text
/stamp-h1 -text
/talkfilters.c -text
/talkfilters.h -text

View file

@ -8,12 +8,12 @@ INSTALL_DATA = @INSTALL_DATA@
DIRECTORY = @DIRINST@/dl/
INCLUDES = -I@DIRINST@/include/ -I.
SRCS= ss.c b1ff.c chef.c common.c fudd.c jethro.c kraut.c postmodern.c talkfilters.c warez.c brooklyn.c cockney.c drawl.c funetak.c jive.c pansy.c redneck.c valspeak.c
SRCS= ss.c s_help.c b1ff.c chef.c common.c fudd.c jethro.c kraut.c postmodern.c talkfilters.c warez.c brooklyn.c cockney.c drawl.c funetak.c jive.c pansy.c redneck.c valspeak.c
OBJS= ${SRCS:.c=.o}
TARGET= stupidserv.so
DOCS=README.StupidServ
DATA=
DISTFILES = $(SRCS) $(DATA) $(DOCS) modconfig.h.in configure install-sh ChangeLog Makefile.in common.h s_help.c talkfilters.h
DISTFILES = $(SRCS) $(DATA) $(DOCS) modconfig.h.in configure install-sh ChangeLog Makefile.in common.h talkfilters.h ss.h
DISTDIR = @PACKAGE@-@VERSION@

View file

@ -23,6 +23,8 @@
** $Id: s_help.c,v 1.1 2003/02/18 13:53:03 fishwaldo Exp $
*/
#include <stdio.h>
const char s_help_send_oneline [] = "Convert and send text";
const char s_help_convert_oneline [] = "Convert text and echo";
const char s_help_list_oneline [] = "List languages available";

3
ss.c
View file

@ -26,7 +26,7 @@
#include <stdio.h>
#include "dl.h"
#include "stats.h"
#include "s_help.c"
#include "ss.h"
#include "talkfilters.h"
/*
@ -104,7 +104,6 @@ void __ModFini()
static int s_version(User *u, char **av, int ac)
{
SET_SEGV_LOCATION();
chanalert(s_Services,"%s Wanted to know the current version information for %s",u->nick,s_StupidServ);
prefmsg(u->nick, s_StupidServ, "\2%s Version Information\2", s_StupidServ);
prefmsg(u->nick, s_StupidServ, "%s Version: %s Compiled %s at %s", s_StupidServ,
__module_info.module_version, __module_info.module_build_date, __module_info.module_build_time);

35
ss.h Executable file
View file

@ -0,0 +1,35 @@
/* NeoStats - IRC Statistical Services Copyright (c) 1999-2004 NeoStats Group Inc.
** Copyright (c) 1999-2004 Adam Rutter, Justin Hammond
** http://www.neostats.net/
**
** Portions Copyright (c) 2000-2001 ^Enigma^
**
** 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
**
** NeoStats CVS Identification
** $Id$
*/
extern const char s_help_send_oneline[];
extern const char s_help_convert_oneline[];
extern const char s_help_list_oneline[];
extern const char s_help_about_oneline[];
extern const char s_help_version_oneline[];
extern const char *s_help_send[];
extern const char *s_help_convert[];
extern const char *s_help_list[];
extern const char *s_help_version[];
extern const char *s_help_about[];