--- psunami.cgi.old	Sun Oct  8 14:31:42 2000
+++ psunami.cgi.new	Sun Oct  8 14:33:37 2000
@@ -1120,7 +1120,9 @@
 		
 		# shouldn't have to do this, but it makes it work...
 		# update: this should be fixed now, but I'll leave it in until use strict compliance
-		%prefs = &sec_get_user_prefs($uid);
+		if($uid > 0)	{
+			%prefs = &sec_get_user_prefs($uid);
+		}
 
 		if(exists($prefs{reply_redirect}) and $prefs{reply_redirect} eq 'thread')
 		{

