summaryrefslogtreecommitdiff
path: root/src/opertype.cpp
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-15 15:21:35 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-15 15:21:35 +0000
commitf07229a9ee06bd989efd14f4223e787b90f9148e (patch)
tree2be730bfae5a09eba1e2e4b22fd300ce706d4490 /src/opertype.cpp
parentf92bf30f15b8f4d287abe3ba9e600cb832fa4e7e (diff)
Blah, blah..
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2061 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/opertype.cpp')
-rw-r--r--src/opertype.cpp37
1 files changed, 37 insertions, 0 deletions
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 <w00t@inspircd.org>
+ * Copyright (C) 2008-2009 Anope Team <team@anope.org>
+ *
+ * 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);
+}
+