summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/module.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 7e35b2ead..73c9e0543 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-04  Sven Wischnowsky  <wischnow@zsh.org>
+
+	* 12525: Src/module.c: remove (wrong) test for linked-in modules
+ 	in require_module()
+	
 2000-08-04  Bart Schaefer  <schaefer@zsh.org>
 
 	* 12516: Src/compat.c, Src/system.h, Src/Modules/files.c,
diff --git a/Src/module.c b/Src/module.c
index c9d643aa6..2d8f6ce6f 100644
--- a/Src/module.c
+++ b/Src/module.c
@@ -778,11 +778,6 @@ require_module(char *nam, char *module, int res, int test)
     Module m = NULL;
     LinkNode node;
 
-    /* First see if the module is linked in. */
-    for (node = firstnode(linkedmodules); node; incnode(node)) {
-	if (!strcmp((char *) getdata(node), nam))
-	    return 1;
-    }
     node = find_module(module);
     if (node && (m = ((Module) getdata(node)))->u.handle &&
 	!(m->flags & MOD_UNLOAD)) {