From 1f2399de364c09adcce4193895cd362d80ffdfc5 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 25 Sep 2011 04:19:15 -0400 Subject: Added a new database format and sqlite support. Also moved db-convert to a module. --- modules/commands/os_module.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'modules/commands/os_module.cpp') 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 { -- cgit