? 380330.patch
Index: bot_factoid/bot_factoid.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/bot/bot_factoid/Attic/bot_factoid.module,v
retrieving revision 1.1.2.6.2.15
diff -u -p -r1.1.2.6.2.15 bot_factoid.module
--- bot_factoid/bot_factoid.module	6 Feb 2009 01:07:31 -0000	1.1.2.6.2.15
+++ bot_factoid/bot_factoid.module	22 Feb 2009 19:59:10 -0000
@@ -27,7 +27,7 @@ function bot_factoid_help($path, $arg) {
  */
 function bot_factoid_menu() {
   $items['bot/factoid'] = array(
-    'access arguments'  => array('access content'),
+    'access arguments'  => array('access bot factoids'),
     'description'       => "Browse all the factoids the bot knows about.",
     'page callback'     => 'bot_factoid_overview',
     'title'             => 'Factoids',
@@ -44,6 +44,13 @@ function bot_factoid_menu() {
 }
 
 /**
+ * Implementation of hook_perm().
+ */
+function bot_factoid_perm() {
+  return array('access bot factoids');
+}
+
+/**
  * Browse all the factoids the bot knows about.
  */
 function bot_factoid_overview() {
Index: bot_karma/bot_karma.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/bot/bot_karma/Attic/bot_karma.module,v
retrieving revision 1.1.2.5
diff -u -p -r1.1.2.5 bot_karma.module
--- bot_karma/bot_karma.module	6 Feb 2009 02:28:48 -0000	1.1.2.5
+++ bot_karma/bot_karma.module	22 Feb 2009 19:59:10 -0000
@@ -27,7 +27,7 @@ function bot_karma_help($section) {
  */
 function bot_karma_menu() {
   $items['bot/karma'] = array(
-    'access arguments'  => array('access content'),
+    'access arguments'  => array('access bot karma scores'),
     'description'       => 'View the highest and lowest karma scores earned from IRC.',
     'page callback'     => 'bot_karma_overview',
     'title'             => 'Karma',
@@ -44,6 +44,13 @@ function bot_karma_menu() {
 }
 
 /**
+ * Implementation of hook_perm().
+ */
+function bot_karma_perm() {
+  return array('access bot karma scores');
+}
+
+/**
  * Listen for conversation directed at, or around, the bot.
  *
  * @param $data
