summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-30 16:25:26 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-30 16:25:26 +0000
commitb779e4d3bb50845e6b20a083e8ed75bba3d59079 (patch)
tree0ea3c2e5de34fe9a061ef05a723e526e81ddcd76
parent685edb99999068e799287d6f2178f4459ede108f (diff)
Removed Service class, if we need something like it later we can add it back, but for now it's just an extra class without a purpose.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1822 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--include/services.h17
-rw-r--r--src/Makefile7
-rw-r--r--src/makefile.win327
-rw-r--r--src/services.cpp22
4 files changed, 4 insertions, 49 deletions
diff --git a/include/services.h b/include/services.h
index 587519298..66e12aeb2 100644
--- a/include/services.h
+++ b/include/services.h
@@ -1240,23 +1240,6 @@ struct capabinfo_ {
/*************************************************************************/
-class CoreExport Service : public BotInfo
-{
- public:
- /** Create a new Services pseudo-client
- * @param nick The nickname to assign to the pseudo-client.
- * @param user The ident to assign to the pseudo-client.
- * @param host The hostname to assign to the pseudo-client.
- * @param real The realname to assign to the pseudo-client.
- */
- Service(const char *nick, const char *user, const char *host, const char *real);
- /** Destroy a pseudo-client, cleaning up appropriately.
- */
- virtual ~Service();
-};
-
-/*************************************************************************/
-
/*
* Forward declaration reqired, because the base IRCDProto class uses some crap from in here.
*/
diff --git a/src/Makefile b/src/Makefile
index 8172fe200..bde534274 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,13 +1,11 @@
OBJS = actions.o base64.o bots.o botserv.o channels.o chanserv.o commands.o compat.o \
config.o datafiles.o encrypt.o events.o hashcomp.o helpserv.o hostserv.o init.o ircd.o language.o log.o mail.o main.o \
memory.o memoserv.o messages.o misc.o modules.o news.o nickserv.o operserv.o \
- process.o send.o servers.o sessions.o slist.o sockutil.o timeout.o users.o module.o modulemanager.o configreader.o \
- services.o
+ process.o send.o servers.o sessions.o slist.o sockutil.o timeout.o users.o module.o modulemanager.o configreader.o
SRCS = actions.c base64.c bots.cpp botserv.c channels.c chanserv.c commands.c compat.c \
config.c datafiles.c encrypt.c events.c hashcomp.cpp helpserv.c hostserv.c init.c ircd.c language.c log.c mail.c main.c \
memory.c memoserv.c messages.c misc.c modules.c news.c nickserv.c operserv.c \
- process.c send.c servers.c sessions.c s sockutil.c timeout.c users.c module.cpp modulemanager.cpp configreader.cpp \
- services.cpp
+ process.c send.c servers.c sessions.c s sockutil.c timeout.c users.c module.cpp modulemanager.cpp configreader.cpp
INCLUDES = ../include/commands.h ../include/defs.h ../include/language.h \
../include/pseudo.h ../include/sysconf.h ../include/config.h \
@@ -71,7 +69,6 @@ operserv.o: operserv.c $(INCLUDES)
process.o: process.c $(INCLUDES)
send.o: send.c $(INCLUDES)
servers.o: servers.c $(INCLUDES)
-services.o: services.cpp $(INCLUDES)
sessions.o: sessions.c $(INCLUDES)
slist.o: slist.c $(INCLUDES)
sockutil.o: sockutil.c $(INCLUDES)
diff --git a/src/makefile.win32 b/src/makefile.win32
index 4acf19071..7558c1ad6 100644
--- a/src/makefile.win32
+++ b/src/makefile.win32
@@ -22,15 +22,13 @@ OBJS = actions.obj base64.obj bots.obj botserv.obj channels.obj chanserv.obj co
init.obj ircd.obj language.obj log.obj mail.obj main.obj memory.obj \
memoserv.obj messages.obj misc.obj modules.obj mod_version.obj news.obj nickserv.obj operserv.obj \
process.obj send.obj servers.obj sessions.obj slist.obj sockutil.obj \
- timeout.obj users.obj module.obj modulemanager.obj hashcomp.obj configreader.obj \
- services.obj
+ timeout.obj users.obj module.obj modulemanager.obj hashcomp.obj configreader.obj
SRCS = actions.c base64.c botserv.c bots.cpp channels.c chanserv.c commands.c compat.c \
config.c datafiles.c encrypt.c events.c helpserv.c hostserv.c init.c ircd.c \
language.c log.c mail.c main.c memory.c memoserv.c messages.c misc.c \
modules.c mod_version.c news.c nickserv.c operserv.c process.c send.c servers.obj sessions.c \
- slist.c sockutil.c timeout.c users.c module.cpp modulemanager.cpp hashcomp.cpp configreader.cpp \
- services.cpp
+ slist.c sockutil.c timeout.c users.c module.cpp modulemanager.cpp hashcomp.cpp configreader.cpp
###########################################################################
@@ -99,7 +97,6 @@ operserv.obj: operserv.c ..\include\services.h ..\include\pseudo.h
process.obj: process.c ..\include\services.h ..\include\messages.h
send.obj: send.c ..\include\services.h
servers.obj: servers.c ..\include\services.h
-services.obj: services.cpp ..\include\services.h
sessions.obj: sessions.c ..\include\services.h ..\include\pseudo.h
slist.obj: slist.c ..\include\services.h ..\include\slist.h
sockutil.obj: sockutil.c ..\include\services.h
diff --git a/src/services.cpp b/src/services.cpp
deleted file mode 100644
index 3d67bb168..000000000
--- a/src/services.cpp
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Copyright (C) 2008 Naram Qashat <cyberbotx@cyberbotx.com>
- * Copyright (C) 2008 Anope Team <info@anope.org>
- *
- * Please read COPYING and README for further details.
- *
- *
- * $Id$
- *
- */
-
-#include "services.h"
-
-Service::Service(const char *nnick, const char *nuser, const char *nhost, const char *nreal) : BotInfo(nnick, nuser, nhost, nreal)
-{
- ircdproto->SendClientIntroduction(this->nick, this->user, this->host, this->real, ircd->pseudoclient_mode, this->uid.c_str());
-}
-
-Service::~Service()
-{
- ircdproto->SendQuit(this, "Terminating");
-}