1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 20:16:38 +02:00

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
This commit is contained in:
cyberbotx
2009-12-21 02:30:14 +00:00
parent 7a7f1f8390
commit 77f0cd0c46
2 changed files with 9 additions and 7 deletions
+4 -4
View File
@@ -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;
}