<p>module_exists() in d6 and d7 is what you&#39;re looking for I think.</p>
<div class="gmail_quote">On Mar 12, 2011 12:25 PM, &quot;Damian Adriel Perez Valdes&quot; &lt;<a href="mailto:damian.adriel@gmail.com">damian.adriel@gmail.com</a>&gt; wrote:<br type="attribution">&gt; hello again:<br>&gt; <br>
&gt; i&#39;m making a module.<br>&gt; <br>&gt; i&#39;m using similar to:<br>&gt; <br>&gt; $message[] = array(<br>&gt;       &#39;status&#39; =&gt; &#39;warning&#39;,<br>&gt;       &#39;title&#39; =&gt; t(&#39;Module modul1&#39;),<br>
&gt;       &#39;desc&#39; =&gt; t(&#39;The description&#39;),<br>&gt;     );<br>&gt; <br>&gt; $message[] = array(<br>&gt;       &#39;status&#39; =&gt; &#39;ok&#39;,<br>&gt;       &#39;title&#39; =&gt; t(&#39;Module modul1&#39;),<br>
&gt;       &#39;desc&#39; =&gt; t(&#39;The description &#39;),<br>&gt;     );<br>&gt; <br>&gt; but, how can i now if one &quot;modul1&quot; is active ? beacuse &#39;status&#39; =&gt; &#39;ok&#39;,<br>&gt; don&#39;t reemplace  &#39;status&#39; =&gt; &#39;warning&#39; when a module is active.<br>
&gt; <br>&gt; thanks.<br></div>