1
0
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:
Adam
2012-01-11 19:04:40 -05:00
parent a52ed70ea0
commit 14a2c9cec0
+2
View File
@@ -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));
}