diff options
Diffstat (limited to 'modules/sql_log.cpp')
-rw-r--r-- | modules/sql_log.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/sql_log.cpp b/modules/sql_log.cpp index 63200c2e4..ad23dfb19 100644 --- a/modules/sql_log.cpp +++ b/modules/sql_log.cpp @@ -20,10 +20,10 @@ public: { } - void OnReload(Configuration::Conf *conf) override + void OnReload(Configuration::Conf &conf) override { - Configuration::Block *config = conf->GetModule(this); - this->table = config->Get<const Anope::string>("table", "logs"); + Configuration::Block &config = conf.GetModule(this); + this->table = config.Get<const Anope::string>("table", "logs"); } void OnLogMessage(LogInfo *li, const Log *l, const Anope::string &msg) override |