--- nofollowlist.module	Wed Mar  5 23:19:30 2008
+++ nofollowlist.module	Thu Sep  4 17:03:57 2008
@@ -124,6 +124,10 @@
   // Default in case it doesn't get changed.
   $link = $match[0];
 
+  // Handle relative links by adding base_url to the host
+  if (empty($url['host']))
+    $url['host'] = parse_url($GLOBALS['base_url'], PHP_URL_HOST);
+  
   // Matches if the list is set as a blacklist and the host is in the list or if
   // the list is set as a whitelist and the host is not found in the list.
   if ((variable_get('nofollowlist_option', 'black') == 'black' &&
