diff options
author | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-08-05 21:32:59 +0000 |
---|---|---|
committer | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-08-05 21:32:59 +0000 |
commit | f1a17e7a80b63988f5be3e433e717d7444d42642 (patch) | |
tree | cfa8e3c7baf77421a4ddee6e57985f5abb2e818b | |
parent | 4800a48be3779a91788dc2cec8015b777f619ee8 (diff) |
BUILD : 1.7.14 (1115) BUGS : 491 NOTES : Dont allow IRCD Protocol modules to be unloaded
git-svn-id: svn://svn.anope.org/anope/trunk@1115 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@839 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/modules.c | 4 | ||||
-rw-r--r-- | version.log | 7 |
3 files changed, 11 insertions, 1 deletions
@@ -57,6 +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 %M for use with StrictPrivMsg. [#565] +08/05 F Dont unload the ircd module in unload_all(). [#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 b8aff99cc..91d4105b4 100644 --- a/src/modules.c +++ b/src/modules.c @@ -738,6 +738,10 @@ 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 78d8993b6..5980f6105 100644 --- a/version.log +++ b/version.log @@ -9,10 +9,15 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="14" VERSION_EXTRA="" -VERSION_BUILD="1114" +VERSION_BUILD="1115" # $Log$ # +# BUILD : 1.7.14 (1115) +# BUGS : 491 +# NOTES : Dont allow IRCD Protocol modules to be unloaded +# +# # BUILD : 1.7.14 (1114) # BUGS : 565 # NOTES : Updated all lang files |