--- ad_flash/ad_flash.module.orig	2011-03-10 00:58:03.474177819 -0500
+++ ad_flash/ad_flash.module	2011-03-10 01:48:29.743562454 -0500
@@ -208,7 +208,7 @@ function ad_flash_global_settings_submit
 /**
  * Adapi implementation.
  */
-function ad_flash_adapi($op, &$node) {
+function ad_flash_adapi($op, $node) {
   $output = NULL;
 
   switch ($op) {
@@ -312,7 +312,7 @@ function ad_flash_adapi($op, &$node) {
 
     case 'permissions':
       if (!isset($node->adtype) || $node->adtype == 'flash') {
-        return array(t('manage active ad'));
+        return array('manage flash ad' => TRUE);
       }
 
     case 'check_install':
