aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_sqloper.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2014-07-16 12:32:47 +0200
committerGravatar Attila Molnar2014-07-16 12:32:47 +0200
commit7e0e54eba331339606265a8a4e11417bb2f832ba (patch)
tree42853fb81602676e3888c1c8dd95ca85ae34b2e0 /src/modules/m_sqloper.cpp
parentMove typedef ClassVector to ServerConfig::ClassVector (diff)
Move typedef OperIndex to ServerConfig::OperIndex
Diffstat (limited to 'src/modules/m_sqloper.cpp')
-rw-r--r--src/modules/m_sqloper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sqloper.cpp b/src/modules/m_sqloper.cpp
index 3d5551eb0..d6581682c 100644
--- a/src/modules/m_sqloper.cpp
+++ b/src/modules/m_sqloper.cpp
@@ -78,7 +78,7 @@ class OpMeQuery : public SQLQuery
bool OperUser(User* user, const std::string &pattern, const std::string &type)
{
- OperIndex::iterator iter = ServerInstance->Config->OperTypes.find(type);
+ ServerConfig::OperIndex::const_iterator iter = ServerInstance->Config->OperTypes.find(type);
if (iter == ServerInstance->Config->OperTypes.end())
{
ServerInstance->Logs->Log(MODNAME, LOG_DEFAULT, "bad type '%s' in returned row for oper %s", type.c_str(), username.c_str());