diff mcabber/mcabberrc.example @ 899:a833f3d6119a

Add option 'max_history_age' New option to specify how many days mcabber will load from the history files. (Suggested by "ze" in mcabber chatroom a few weeks ago)
author Mikael Berthe <mikael@lilotux.net>
date Sat, 10 Jun 2006 12:16:09 +0200
parents 7c74eef1d0e0
children 653c1cdfb589
line wrap: on
line diff
--- a/mcabber/mcabberrc.example	Thu Jun 08 21:42:52 2006 +0200
+++ b/mcabber/mcabberrc.example	Sat Jun 10 12:16:09 2006 +0200
@@ -50,6 +50,7 @@
 # History logging
 # You can save the messages history: set logging = 1
 # You can load (read) the messages history: set load_logs = 1
+# If you enable load_logs, you can use the 'max_history_age' setting below.
 # Default logging directory (logging_dir) is $HOME/.mcabber/histo/
 # Defaults for logging, load_logs are 0 (disabled)
 # Note: the logging directory must exist if you enable logging, mcabber
@@ -65,9 +66,15 @@
 # from the server.
 #set load_muc_logs = 0
 
+# When load_logs (or load_muc_logs) is enabled, you can specify a maximum
+# number of history days to load into memory with max_history_age.
+# Default = 0 (disabled -- everything is loaded)
+# Note: this option is only used when reading history files, not later.
+#set max_history_age = 0
+
 # IQ settings
 # Set iq_version_hide_os to 1 if you do not want to allow people to retrieve
-# your OS version
+# your OS version.
 #set iq_version_hide_os = 0
 
 # Beep