diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-15 15:22:20 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-15 15:22:20 +0000 |
commit | 83243793468c7af887404ca30c34146436682610 (patch) | |
tree | 11f6fb7ffd31bd3b2b6aab1a817d907db017f452 /src/opertype.cpp | |
parent | 855847f428412e85087384df73096d9056526937 (diff) |
Can now correctly tie users to opertypes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2063 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/opertype.cpp')
-rw-r--r-- | src/opertype.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/opertype.cpp b/src/opertype.cpp index 440078f96..a90ac9de5 100644 --- a/src/opertype.cpp +++ b/src/opertype.cpp @@ -15,12 +15,12 @@ OperType::OperType(const std::string &nname) : name(nname) { } -bool OperType::HasCommand(const std::string &cmdstr) +bool OperType::HasCommand(const std::string &cmdstr) const { } -bool OperType::HasPriv(const std::string &privstr) +bool OperType::HasPriv(const std::string &privstr) const { } @@ -35,3 +35,8 @@ void OperType::AddPriv(const std::string &privstr) this->privs.push_back(privstr); } +const std::string &OperType::GetName() const +{ + return this->name; +} + |