[NeoStats-Devel] [Commits] r352 - branches/3.0
[email protected] Mon, 23 May 2005 08:01:02 +1000
Newsgroups
gmane.comp.neostats.devel
Message-ID
<[email protected] >
Author: Mark
Date: Mon May 23 06:00:24 2005
New Revision: 352
Modified:
branches/3.0/Helpers.c
branches/3.0/OnJoinBot.c
branches/3.0/SecureServ.c
branches/3.0/SecureServ.h
branches/3.0/scan.c
branches/3.0/update.c
Log:
use new macro for modconfig includes
Modified: branches/3.0/Helpers.c
==============================================================================
--- branches/3.0/Helpers.c (original)
+++ branches/3.0/Helpers.c Mon May 23 06:00:24 2005
@@ -21,7 +21,6 @@
** $Id$
*/
-#include "neostats.h"
#include "SecureServ.h"
typedef struct Helper{
Modified: branches/3.0/OnJoinBot.c
==============================================================================
--- branches/3.0/OnJoinBot.c (original)
+++ branches/3.0/OnJoinBot.c Mon May 23 06:00:24 2005
@@ -21,7 +21,6 @@
** $Id$
*/
-#include "neostats.h"
#include "SecureServ.h"
#define MAX_NICKS 100
Modified: branches/3.0/SecureServ.c
==============================================================================
--- branches/3.0/SecureServ.c (original)
+++ branches/3.0/SecureServ.c Mon May 23 06:00:24 2005
@@ -21,12 +21,6 @@
** $Id$
*/
-#ifdef WIN32
-#include "modconfigwin32.h"
-#else
-#include "modconfig.h"
-#endif
-#include "neostats.h"
#include "SecureServ.h"
static int ss_event_signon( CmdParams *cmdparams );
Modified: branches/3.0/SecureServ.h
==============================================================================
--- branches/3.0/SecureServ.h (original)
+++ branches/3.0/SecureServ.h Mon May 23 06:00:24 2005
@@ -24,6 +24,9 @@
#ifndef SECURESERV_H
#define SECURESERV_H
+#include "neostats.h"
+#include MODULECONFIG
+
#define VIRI_DAT_NAME "data/viri.dat"
#define CUSTOM_DAT_NAME "data/customviri.dat"
#define NUM_DAT_FILES 2
Modified: branches/3.0/scan.c
==============================================================================
--- branches/3.0/scan.c (original)
+++ branches/3.0/scan.c Mon May 23 06:00:24 2005
@@ -21,18 +21,12 @@
** $Id$
*/
-#ifdef WIN32
-#include "modconfigwin32.h"
-#else
-#include "modconfig.h"
-#endif
-#include "neostats.h"
+#include "SecureServ.h"
#ifdef HAVE_CRYPT_H
#include <crypt.h>
#endif
-#include "SecureServ.h"
-#define MAX_VIRI -1
+#define MAX_VIRI -1
typedef struct virustype {
int trigcount;
Modified: branches/3.0/update.c
==============================================================================
--- branches/3.0/update.c (original)
+++ branches/3.0/update.c Mon May 23 06:00:24 2005
@@ -21,13 +21,6 @@
** $Id$
*/
-#ifdef WIN32
-#include "modconfigwin32.h"
-#else
-#include "modconfig.h"
-#endif
-
-#include "neostats.h"
#include "SecureServ.h"
void datver(void *data, int status, char *ver, int versize);