Index: robotstxt.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/robotstxt/robotstxt.module,v
retrieving revision 1.2.2.1
diff -u -r1.2.2.1 robotstxt.module
--- robotstxt.module	23 Mar 2007 01:33:39 -0000	1.2.2.1
+++ robotstxt.module	29 Apr 2007 18:53:33 -0000
@@ -73,5 +73,12 @@
 function robotstxt_robots() {
   drupal_set_header("Content-type: text/plain");
   print check_plain(variable_get('robotstxt', ''));
+  
+  // Hook other modules for adding additional lines to robots.txt
+  $additional = module_invoke_all('robotstxt');
+  foreach ($additional as $key => $value) {
+    print check_plain($key) . ": " . check_plain($value) . "\n";
+  }
+  
   exit;
-}
+}
\ No newline at end of file
