Commit Diff


commit - 54566b6b32441044660c8fca784ef7b09b933a7e
commit + e160121698e7ec51f3e763dbdb1b76f755e47729
blob - d038fd2481cde6bc01aca29d1669c93fdf01c1ff
blob + 83c80f845a88347678da2fafdb55d8872e9c0418
--- src/ngircd/client.c
+++ src/ngircd/client.c
@@ -1191,6 +1191,10 @@ Client_RegisterWhowas( CLIENT *Client )
 	time_t now;
 
 	assert( Client != NULL );
+
+	/* Don't register WHOWAS information when "MorePrivacy" is enabled. */
+	if (Conf_MorePrivacy)
+		return;
 
 	now = time(NULL);
 	/* Don't register clients that were connected less than 30 seconds. */