diff options
| author | Adam <Adam@anope.org> | 2011-04-27 10:56:20 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-05-16 04:09:07 -0400 |
| commit | 284af258bf3c4dc7f409722d66bb0ac59e01e37d (patch) | |
| tree | 5649a27a7a247c2609a4ef13b52a357765cbdfcc /modules/extra/db_mysql_live.cpp | |
| parent | e7887c1f013248274574ab8e3167f742ccb3d69b (diff) | |
Added more useful functions to our LDAP API, allow adding newly registered accounts to LDAP, removed some unnecessary OnPre events and fixed unloading all modules
Diffstat (limited to 'modules/extra/db_mysql_live.cpp')
| -rw-r--r-- | modules/extra/db_mysql_live.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/extra/db_mysql_live.cpp b/modules/extra/db_mysql_live.cpp index 8faa11a1f..f1f0b855f 100644 --- a/modules/extra/db_mysql_live.cpp +++ b/modules/extra/db_mysql_live.cpp @@ -163,11 +163,11 @@ class MySQLLiveModule : public Module MySQLLiveModule(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator), SQL("mysql/main"), ACS("asynch_commands") { - Implementation i[] = { I_OnFindChan, I_OnFindNick, I_OnFindCore, I_OnPreShutdown }; + Implementation i[] = { I_OnFindChan, I_OnFindNick, I_OnFindCore, I_OnShutdown }; ModuleManager::Attach(i, this, 4); } - void OnPreShutdown() + void OnShutdown() { Implementation i[] = { I_OnFindChan, I_OnFindNick, I_OnFindCore }; for (size_t j = 0; j < 3; ++j) |
