Index: class.dc.modules.php
===================================================================
--- class.dc.modules.php	(revision 2921)
+++ class.dc.modules.php	(working copy)
@@ -24,6 +24,7 @@
 	protected $ns;
 	protected $modules = array();
 	protected $disabled = array();
+	protected $modules_names = array();
 	
 	protected $id;
 	protected $mroot;
@@ -109,7 +110,7 @@
 		
 		# Load translation, _prepend and ns_file
 		foreach ($this->modules as $id => $m)
-		{
+		{  
 			if (file_exists($m['root'].'/_prepend.php'))
 			{
 				$r = require $m['root'].'/_prepend.php';
@@ -166,7 +167,8 @@
 			}
 		}
 		
-		if ($this->id) {
+		if ($this->id && !isset($this->modules_names[$name])) {
+			$this->modules_names[$name]=1;
 			$this->modules[$this->id] = array(
 			'root' => $this->mroot,
 			'name' => $name,
