1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 06:46:38 +02:00

Changed a few fatal exceptions to shutdown a bit more gracefully

This commit is contained in:
Adam
2011-08-29 17:08:26 -04:00
parent b24ea29bf5
commit 1c5ff92c93
9 changed files with 55 additions and 8 deletions
+7
View File
@@ -658,6 +658,13 @@ class ProtoPlexus : public Module
ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
}
~ProtoPlexus()
{
pmodule_ircd_var(NULL);
pmodule_ircd_proto(NULL);
pmodule_ircd_message(NULL);
}
void OnServerSync(Server *s)
{
if (nickserv)