849a850,852
>   // Obtain the global $user variable.
>   global $user;
> 
853a857,862
> 
>   // Check to see if the user is already logged out if they are hitting "logout"
>   if (($path == "logout") && (!$user->uid)) {
>     drupal_goto();
>   }
> 
