diff options
-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 |