--- honeypot.module	2011-08-12 17:36:11.000000000 -0400
+++ honeypot1.module	2011-08-30 17:06:17.000000000 -0400
@@ -73,12 +73,28 @@
  * @todo - Build query dynamically, using db_select...
  */
 function honeypot_get_protected_forms() {
-  if (variable_get('honeypot_form_user_register_form', 0)) {
-    return array('user_register_form');
-  }
-  return array();
+	$forms = array();
+	
+	$result = db_select('variable', 'v')
+    ->fields('v')
+    ->condition('name', db_like('honeypot_form') . '%', 'LIKE')
+    ->execute()
+    ->fetchCol();
+	
+  foreach($result as $record){
+	  if(variable_get($record) == 1){
+		  $needle = 'honeypot_form_';
+		  $form_id = str_replace($needle, '',$record);
+		  
+		  array_push($forms, $form_id);
+	  }
+  }
+ 
+ 
+  return $forms;
 }
 
+
 /**
  * Form builder function to add different types of protection to forms.
  *
