diff options
| author | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-08-06 08:54:51 +0000 |
|---|---|---|
| committer | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-08-06 08:54:51 +0000 |
| commit | 241282a3954a17608e9e438a24074567207c5589 (patch) | |
| tree | 36f991946b994da505ba27793eb3cbc7078b6344 | |
| parent | 7603d145b28cccd0d38b9d2667c2ba2f36603aa2 (diff) | |
BUILD : 1.7.14 (1121) BUGS : 491 NOTES : anope segfault on shutdown
git-svn-id: svn://svn.anope.org/anope/trunk@1121 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@845 5417fbe8-f217-4b02-8779-1006273d7864
| -rw-r--r-- | Changes | 2 | ||||
| -rw-r--r-- | src/modules.c | 5 | ||||
| -rw-r--r-- | version.log | 7 |
3 files changed, 8 insertions, 6 deletions
@@ -57,7 +57,7 @@ Provided by Anope Dev. <dev@anope.org> - 2006 08/05 F os_info save on unload. [#523] 08/05 F Externed doValidHost call for modules to use. [#570] 08/05 F Lang files now support %R for use with StrictPrivMsg. [#565] -08/05 F Dont unload the ircd module in unload_all(). [#491] +08/06 F Segfault when shuting down anope. [#491] Provided by ThaPrince <jon@vile.com> - 2006 05/19 A Plexus 3 support. [ #00] diff --git a/src/modules.c b/src/modules.c index 91d4105b4..bbe44b18b 100644 --- a/src/modules.c +++ b/src/modules.c @@ -245,6 +245,7 @@ void modules_unload_all(boolean fini) mh = MODULE_HASH[idx]; while (mh) { next = mh->next; + mod_current_module = mh->m; if(fini) { func = (void (*)(void))ano_modsym(mh->m->handle, "AnopeFini"); if (func) { @@ -738,10 +739,6 @@ int prepForUnload(Module * m) return MOD_ERR_PARAMS; } - if (m->type == PROTOCOL) { - return MOD_ERR_NOUNLOAD; /* you cant unload protocol modules */ - } - /* Kill any active callbacks this module has */ moduleCallBackPrepForUnload(m->name); diff --git a/version.log b/version.log index a9ec49c0e..7203b056c 100644 --- a/version.log +++ b/version.log @@ -9,10 +9,15 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="14" VERSION_EXTRA="" -VERSION_BUILD="1120" +VERSION_BUILD="1121" # $Log$ # +# BUILD : 1.7.14 (1121) +# BUGS : 491 +# NOTES : anope segfault on shutdown +# +# # BUILD : 1.7.14 (1120) # BUGS : N/A # NOTES : ok last time with the lang file thing |
