Index: comment_moderation.info
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/comment_moderation/comment_moderation.info,v
retrieving revision 1.1
diff -u -r1.1 comment_moderation.info
--- comment_moderation.info	8 Feb 2009 09:00:26 -0000	1.1
+++ comment_moderation.info	9 Mar 2009 12:09:43 -0000
@@ -5,4 +5,3 @@
 version = "6.x-1.x-dev"
 core = "6.x"
 dependencies[] = comment
-dependencies[] = mollom
Index: comment_moderation.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/comment_moderation/comment_moderation.module,v
retrieving revision 1.1
diff -u -r1.1 comment_moderation.module
--- comment_moderation.module	8 Feb 2009 09:00:26 -0000	1.1
+++ comment_moderation.module	9 Mar 2009 11:42:18 -0000
@@ -147,28 +147,31 @@
         'href' => "comment/delete/$comment->cid",
         'query' => "destination=". drupal_urlencode("comment/moderate/$next->cid"),
       );
-      $links['comment_mollom'] = array(
-        'title' => t('report to mollom'),
-        'href' => "mollom/comment/$comment->cid",
-        'query' => "destination=". drupal_urlencode("comment/moderate/$next->cid"),
-      );
-/*      $links['comment_spam'] = array(
-        'title' => t('as spam'),
-        'href' => "mollom/comment/$comment->cid",
-      );
-      $links['comment_obscene'] = array(
-        'title' => t('as obscene'),
-        'href' => "mollom/comment/$comment->cid",
-      );
-      $links['comment_lowquality'] = array(
-        'title' => t('as low quality'),
-        'href' => "mollom/comment/$comment->cid",
-      );
-      $links['comment_offtopic'] = array(
-        'title' => t('as offtopic'),
-        'href' => "mollom/comment/$comment->cid"
-      );
+      if (module_exists('mollom')) {
+        $links['comment_mollom'] = array(
+          'title' => t('report to mollom'),
+          'href' => "mollom/comment/$comment->cid",
+          'query' => "destination=". drupal_urlencode("comment/moderate/$next->cid"),
+        );
+/*
+        $links['comment_spam'] = array(
+          'title' => t('as spam'),
+          'href' => "mollom/comment/$comment->cid",
+        );
+        $links['comment_obscene'] = array(
+          'title' => t('as obscene'),
+          'href' => "mollom/comment/$comment->cid",
+        );
+        $links['comment_lowquality'] = array(
+          'title' => t('as low quality'),
+          'href' => "mollom/comment/$comment->cid",
+        );
+        $links['comment_offtopic'] = array(
+          'title' => t('as offtopic'),
+          'href' => "mollom/comment/$comment->cid"
+        );
 */
+      }
       if ($prev) {
         $navlinks['comment_previous'] = array(
           'title' => '««' . t('previous') . '«',

