summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorDaniel De Graaf <danieldg@inspircd.org>2010-07-04 18:56:39 -0400
committerDaniel De Graaf <danieldg@inspircd.org>2010-07-04 18:56:39 -0400
commit4f3ba0218652cc76cec4bcb1d116787eb31845c3 (patch)
tree698549908c158a5de822b0b36fd93b93bb87125d /src/configreader.cpp
parent03166a7d11b54cee1fa71ad1299e09689455efcc (diff)
Include location of duplicated oper blocks
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 c0e9b5992..c93bbd41f 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -234,7 +234,7 @@ void ServerConfig::CrossCheckOperClassType()
if (tblk == oper_blocks.end())
throw CoreException("Oper block " + name + " has missing type " + type);
if (oper_blocks.find(name) != oper_blocks.end())
- throw CoreException("Duplicate oper block with name " + name);
+ throw CoreException("Duplicate oper block with name " + name + " at " + tag->getTagLocation());
OperInfo* ifo = new OperInfo;
ifo->name = type;