summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-12-21 02:30:14 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-12-21 02:30:14 +0000
commit77f0cd0c46fd318acfbb281407c06f0af755702a (patch)
tree64ea2bb7e5833641e7210f3e24672b1393470925 /src
parent7a7f1f8390f68f84350de63ff330184999264fcc (diff)
Change OperType's name to be ci::string instead of std::string, should hopefully make it so it doesn't matter what case is used in the oper blocks compared to the opertype blocks.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2713 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/opertype.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/opertype.cpp b/src/opertype.cpp
index 7e93d1925..054c8a7e9 100644
--- a/src/opertype.cpp
+++ b/src/opertype.cpp
@@ -8,10 +8,10 @@
* $Id$
*
*/
-
- #include "services.h"
-OperType::OperType(const std::string &nname) : name(nname)
+#include "services.h"
+
+OperType::OperType(const ci::string &nname) : name(nname)
{
}
@@ -51,7 +51,7 @@ void OperType::AddPriv(const std::string &privstr)
this->privs.push_back(privstr);
}
-const std::string &OperType::GetName() const
+const ci::string &OperType::GetName() const
{
return this->name;
}