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"); +}