diff --git a/src/sbbs3/websrvr.c b/src/sbbs3/websrvr.c
index 2f78be4a598ac2cd86ed96a0a519efe0fcd94888..b40332ad2b3cbd2d396b3c77054d6e9d03e9fa24 100644
--- a/src/sbbs3/websrvr.c
+++ b/src/sbbs3/websrvr.c
@@ -969,7 +969,7 @@ static BOOL check_request(http_session_t * session)
 		send_error("404 Not Found",session);
 		return(FALSE);
 	}
-	if(!strcmp(path,session->req.request)) {
+	if(strcmp(path,session->req.request)) {
 		session->req.send_location=TRUE;
 		SAFECOPY(session->req.request,path);
 	}