From f07229a9ee06bd989efd14f4223e787b90f9148e Mon Sep 17 00:00:00 2001 From: rburchell Date: Sun, 15 Feb 2009 15:21:35 +0000 Subject: Blah, blah.. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2061 5417fbe8-f217-4b02-8779-1006273d7864 --- src/opertype.cpp | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/opertype.cpp (limited to 'src/opertype.cpp') diff --git a/src/opertype.cpp b/src/opertype.cpp new file mode 100644 index 000000000..440078f96 --- /dev/null +++ b/src/opertype.cpp @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2008-2009 Robin Burchell + * Copyright (C) 2008-2009 Anope Team + * + * Please read COPYING and README for further details. + * + * + * $Id$ + * + */ + + #include "services.h" + +OperType::OperType(const std::string &nname) : name(nname) +{ +} + +bool OperType::HasCommand(const std::string &cmdstr) +{ + +} + +bool OperType::HasPriv(const std::string &privstr) +{ + +} + +void OperType::AddCommand(const std::string &cmdstr) +{ + this->commands.push_back(cmdstr); +} + +void OperType::AddPriv(const std::string &privstr) +{ + this->privs.push_back(privstr); +} + -- cgit