aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_ojoin.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-10-31 23:21:15 +0000
committerGravatar Sadie Powell2020-10-31 23:21:15 +0000
commit1b181b42b82213c884e8aac3a620252102992439 (patch)
treee1eefa83c074695016e94cb97bb34a24909ebb3d /src/modules/m_ojoin.cpp
parentAdd stdalgo::iterator_range and switch config tag reading to use it. (diff)
Convert ConfigTag from reference<> to std::shared_ptr<>.
Diffstat (limited to 'src/modules/m_ojoin.cpp')
-rw-r--r--src/modules/m_ojoin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_ojoin.cpp b/src/modules/m_ojoin.cpp
index 7e9d76bca..b31d0f12e 100644
--- a/src/modules/m_ojoin.cpp
+++ b/src/modules/m_ojoin.cpp
@@ -135,7 +135,7 @@ class ModuleOjoin : public Module
void ReadConfig(ConfigStatus& status) override
{
- ConfigTag* Conf = ServerInstance->Config->ConfValue("ojoin");
+ auto Conf = ServerInstance->Config->ConfValue("ojoin");
mycommand.notice = Conf->getBool("notice", true);
mycommand.op = Conf->getBool("op", true);
}