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