diff options
-rw-r--r-- | src/services.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
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 <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"); +} |