diff options
author | Adam <Adam@anope.org> | 2011-08-29 17:08:26 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-08-29 17:08:26 -0400 |
commit | 1c5ff92c9398c01708158f0a057905ad50a3255c (patch) | |
tree | 004f19d488c0a3dc48459d345200f2290ecd5168 /modules/protocol/plexus.cpp | |
parent | b24ea29bf578e115a3bab71cd33ca2e4672fbfba (diff) |
Changed a few fatal exceptions to shutdown a bit more gracefully
Diffstat (limited to 'modules/protocol/plexus.cpp')
-rw-r--r-- | modules/protocol/plexus.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp index 9947d02ab..fd6379fc9 100644 --- a/modules/protocol/plexus.cpp +++ b/modules/protocol/plexus.cpp @@ -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) |