about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/module.c5
1 files changed, 0 insertions, 5 deletions
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)) {