summaryrefslogtreecommitdiff
path: root/src/opertype.cpp
diff options
context:
space:
mode:
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);
+}
+