summaryrefslogtreecommitdiff
path: root/src/services.cpp
blob: 3d67bb168cdccf69992adf185f1e5cce61abb176 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * 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");
}