Index: piwik.admin.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/piwik/piwik.admin.inc,v
retrieving revision 1.3
diff -u -p -r1.3 piwik.admin.inc
--- piwik.admin.inc	12 May 2008 16:29:01 -0000	1.3
+++ piwik.admin.inc	9 Oct 2010 16:31:50 -0000
@@ -75,10 +75,10 @@ function piwik_admin_settings_form(&$for
   }
   $form['role_vis_settings']['piwik_roles'] = array(
     '#type' => 'checkboxes',
-    '#title' => t('Add tracking for specific roles'),
+    '#title' => t('Exclude specific roles from tracking'),
     '#default_value' => variable_get('piwik_roles', array()),
     '#options' => $role_options,
-    '#description' => t('Add tracking only for the selected role(s). If you select no roles, the tracking will be added to all users.'),
+    '#description' => t('Exclude the selected role(s) from tracking. If you exclude the default "authenticated user" role, all subsequent roles will also be excluded.'),
   );
 
   // Page specific visibility configurations.
Index: piwik.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/piwik/piwik.module,v
retrieving revision 1.3
diff -u -p -r1.3 piwik.module
--- piwik.module	12 May 2008 16:29:01 -0000	1.3
+++ piwik.module	9 Oct 2010 16:31:50 -0000
@@ -275,24 +275,20 @@ function _piwik_visibility_user($account
  */
 function _piwik_visibility_roles($account) {
 
-  $enabled = FALSE;
+  $enabled = TRUE;
   $roles = variable_get('piwik_roles', array());
 
   if (array_sum($roles) > 0) {
-    // One or more roles are selected for tracking.
+    // One or more roles are selected to be excluded from tracking.
     foreach (array_keys($account->roles) as $rid) {
-      // Is the current user a member of one role enabled for tracking?
+      // Is the current user a member of one role excluded from tracking?
       if (isset($roles[$rid]) && $rid == $roles[$rid]) {
-        // Current user is a member of a role that should be tracked.
-        $enabled = TRUE;
+        // Current user is a member of a role that should not be tracked.
+        $enabled = FALSE;
         break;
       }
     }
   }
-  else {
-    // No role is selected for tracking, therefor all roles should be tracked. 
-    $enabled = TRUE;
-  }
 
   return $enabled;
 }
