diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-29 00:35:52 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-29 00:35:52 +0000 |
commit | f300ac836e41b84689c5d824f62053b493cd6487 (patch) | |
tree | 4f0a3be460ba385b29e976a2e62e40a00be576b6 | |
parent | 68deba3296c5275751004bbb2237d3e073bf0005 (diff) |
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
-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"); +} |