From f300ac836e41b84689c5d824f62053b493cd6487 Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Sat, 29 Nov 2008 00:35:52 +0000 Subject: [PATCH] Add services.cpp that didn't get sent with r1814 or r1815. >.< git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1816 5417fbe8-f217-4b02-8779-1006273d7864 --- src/services.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/services.cpp diff --git a/src/services.cpp b/src/services.cpp new file mode 100644 index 000000000..3d67bb168 --- /dev/null +++ b/src/services.cpp @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2008 Naram Qashat + * Copyright (C) 2008 Anope Team + * + * 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"); +}