From 1c5ff92c9398c01708158f0a057905ad50a3255c Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 29 Aug 2011 17:08:26 -0400 Subject: Changed a few fatal exceptions to shutdown a bit more gracefully --- modules/protocol/plexus.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'modules/protocol/plexus.cpp') 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) -- cgit