diff --git a/twitter.module b/twitter.module
index 4abcc46..5826ac5 100644
--- a/twitter.module
+++ b/twitter.module
@@ -313,10 +313,15 @@ function twitter_user_load($accounts) {
 /**
  * Implements hook_twitter_accounts().
  *
- * @return
- *   array with Twitter accounts
+ * @return array
+ *   All Twitter accounts for this user; the anonymous user will return an
+ *   empty array.
  */
 function twitter_twitter_accounts($account) {
+  if ($account->uid == 0) {
+    return array();
+  }
+
   module_load_include('inc', 'twitter');
 
   $query = db_select('twitter_account', 'ta')
