summaryrefslogtreecommitdiff
path: root/modules/commands/os_module.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-09-25 04:19:15 -0400
committerAdam <Adam@anope.org>2011-09-25 04:19:15 -0400
commit1f2399de364c09adcce4193895cd362d80ffdfc5 (patch)
tree5f40fc531f22c174b6e10bb7bc12842a4a21d30b /modules/commands/os_module.cpp
parent43201ead9575a74e350710bc191f4ac67366aca7 (diff)
Added a new database format and sqlite support. Also moved db-convert to a module.
Diffstat (limited to 'modules/commands/os_module.cpp')
-rw-r--r--modules/commands/os_module.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/modules/commands/os_module.cpp b/modules/commands/os_module.cpp
index 7f9f1d990..36fe570cd 100644
--- a/modules/commands/os_module.cpp
+++ b/modules/commands/os_module.cpp
@@ -32,13 +32,6 @@ class CommandOSModLoad : public Command
{
ircdproto->SendGlobops(source.owner, "%s loaded module %s", u->nick.c_str(), mname.c_str());
source.Reply(_("Module \002%s\002 loaded"), mname.c_str());
-
- /* If a user is loading this module, then the core databases have already been loaded
- * so trigger the event manually
- */
- Module *m = ModuleManager::FindModule(mname);
- if (m)
- m->OnPostLoadDatabases();
}
else if (status == MOD_ERR_EXISTS)
source.Reply(_("Module \002%s\002 is already loaded."), mname.c_str());
@@ -100,13 +93,6 @@ class CommandOSModReLoad : public Command
{
ircdproto->SendGlobops(source.owner, "%s reloaded module %s", u->nick.c_str(), mname.c_str());
source.Reply(_("Module \002%s\002 reloaded"), mname.c_str());
-
- /* If a user is loading this module, then the core databases have already been loaded
- * so trigger the event manually
- */
- m = ModuleManager::FindModule(mname);
- if (m)
- m->OnPostLoadDatabases();
}
else
{