]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Include location of duplicated oper blocks
authorDaniel De Graaf <danieldg@inspircd.org>
Sun, 4 Jul 2010 22:56:39 +0000 (18:56 -0400)
committerDaniel De Graaf <danieldg@inspircd.org>
Sun, 4 Jul 2010 22:56:39 +0000 (18:56 -0400)
src/configreader.cpp

index c0e9b5992dabf50b1f0d32859b9520ff132f0651..c93bbd41fb8940ec0bfabf9be364f50e89230a5b 100644 (file)
@@ -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;