summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-17 02:40:16 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-17 02:40:16 +0000
commit548eacee47a757beb90226f3f8a36ba94619bee6 (patch)
tree77a5b6b028e1bc68f01f2b5db69938ae10477bbf /src/configreader.cpp
parentbf6724c049ba0f156544c49aab2008d6280e5ffa (diff)
Hold reference to the associated ConfigTag inside ConnectClass
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11880 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 6157b4d4b..10fea3eff 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -389,8 +389,8 @@ void ServerConfig::CrossCheckConnectBlocks(ServerConfig* current)
throw CoreException("Two connect classes cannot have the same mask (" + mask + ")");
ConnectClass* me = parent ?
- new ConnectClass(type, mask, *parent) :
- new ConnectClass(type, mask);
+ new ConnectClass(tag, type, mask, *parent) :
+ new ConnectClass(tag, type, mask);
if (!name.empty())
me->name = name;