summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/configreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 696b19a1b..75f17b61a 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -185,7 +185,7 @@ void ServerConfig::CrossCheckOperClassType()
std::string name = tag->getString("name");
if (name.empty())
throw CoreException("<class:name> missing from tag at " + tag->getTagLocation());
- if (operclass.find(name) != oper_blocks.end())
+ if (operclass.find(name) != operclass.end())
throw CoreException("Duplicate class block with name " + name + " at " + tag->getTagLocation());
operclass[name] = tag;
}