mirror of
https://github.com/anope/anope.git
synced 2026-06-25 15:46:37 +02:00
Fixed loading db_sql_live_read's configuration values on startup
This commit is contained in:
@@ -171,6 +171,8 @@ class MySQLLiveModule : public Module
|
||||
MySQLLiveModule(const Anope::string &modname, const Anope::string &creator) :
|
||||
Module(modname, creator, DATABASE), SQL("")
|
||||
{
|
||||
this->OnReload();
|
||||
|
||||
Implementation i[] = { I_OnReload, I_OnFindChan, I_OnFindNick, I_OnFindCore, I_OnShutdown };
|
||||
ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user