summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-03-08 17:21:59 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-03-08 17:21:59 +0000
commit5bbc2a31d69c82e04193b6a60c8e6ca5001685d2 (patch)
treea054124a4087e5cc3249a73c71d5e4ac186c2986 /src/configreader.cpp
parent2465c2ab91bb33c4ec00305dc5b3cb5b773016af (diff)
Fix logic error in comparison
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12615 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/configreader.cpp')
-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;
}