aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-11-03 19:40:42 +0000
committerGravatar Sadie Powell2020-11-03 19:54:13 +0000
commit373bc208ff8f7eceecd944114cd729b5a348d918 (patch)
tree3fc6cc31e70a00cb9670b3724e0c94256f763385 /src/users.cpp
parentReplace ConfigTag::create with a public constructor. (diff)
downloadinspircd++-373bc208ff8f7eceecd944114cd729b5a348d918.tar.gz
inspircd++-373bc208ff8f7eceecd944114cd729b5a348d918.tar.bz2
inspircd++-373bc208ff8f7eceecd944114cd729b5a348d918.zip
Move FilePosition to fileutils.h and use in ConfigTag.
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index e8c0e4c56..efe91c4bb 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -1239,7 +1239,7 @@ ConnectClass::ConnectClass(std::shared_ptr<ConfigTag> tag, char t, const std::st
// Connect classes can inherit from each other but this is problematic for modules which can't use
// ConnectClass::Update so we build a hybrid tag containing all of the values set on this class as
// well as the parent class.
- config = std::make_shared<ConfigTag>(tag->tag, tag->src_name, tag->src_line);
+ config = std::make_shared<ConfigTag>(tag->tag, tag->source);
for (const auto& [key, value] : parent->config->GetItems())
{
// The class name and parent name are not inherited