summaryrefslogtreecommitdiff
path: root/src/opertype.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/opertype.cpp')
-rw-r--r--src/opertype.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opertype.cpp b/src/opertype.cpp
index acfe40135..0ff541e5d 100644
--- a/src/opertype.cpp
+++ b/src/opertype.cpp
@@ -108,7 +108,7 @@ void OperType::Inherits(OperType *ot)
this->inheritances.insert(ot);
}
-const std::list<Anope::string> OperType::GetCommands() const
+std::list<Anope::string> OperType::GetCommands() const
{
std::list<Anope::string> cmd_list = this->commands;
for (auto *ot : this->inheritances)
@@ -119,7 +119,7 @@ const std::list<Anope::string> OperType::GetCommands() const
return cmd_list;
}
-const std::list<Anope::string> OperType::GetPrivs() const
+std::list<Anope::string> OperType::GetPrivs() const
{
std::list<Anope::string> priv_list = this->privs;
for (auto *ot : this->inheritances)