mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Make --makeconf more clear
This rephrases one of the questions asked and adds a section to the README that explains two unclear questions. This patch is based on a patch from Patrick Matthaei from debian. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1093 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
19
README
19
README
@@ -6,6 +6,7 @@ Table of contents:
|
||||
- Optional Requirements
|
||||
- Installing ZNC
|
||||
- Setting up znc.conf
|
||||
- Special config options
|
||||
- Using ZNC
|
||||
- File Locations
|
||||
- ZNC's config file
|
||||
@@ -54,6 +55,24 @@ for in-place execution.
|
||||
If you are using SSL you should do
|
||||
znc --makepem
|
||||
|
||||
Special config options
|
||||
----------------------
|
||||
|
||||
When you create your ZNC configuration file via --makeconf, you are asked two
|
||||
questions which might not be easy to understand.
|
||||
|
||||
> Number of lines to buffer per channel
|
||||
How many messages should be buffered for each channel. When you connect to ZNC
|
||||
you get a buffer replay for each channel which shows what was said last. This
|
||||
option selects the number of lines this replay should consist of. Increasing
|
||||
this can greatly increase ZNC's memory usage if you are hosting many users.
|
||||
The default value should be fine for most setups.
|
||||
|
||||
> Would you like to keep buffers after replay?
|
||||
If this is disabled, you get the buffer playback only once and then it is
|
||||
deleted. If this is enabled, the buffer is not deleted. This may be useful if
|
||||
you regularly use more than one client to connect to ZNC.
|
||||
|
||||
Using ZNC
|
||||
---------
|
||||
|
||||
|
||||
2
znc.cpp
2
znc.cpp
@@ -684,7 +684,7 @@ bool CZNC::WriteNewConfig(const CString& sConfig) {
|
||||
if (uBufferCount) {
|
||||
vsLines.push_back("\tBuffer = " + CString(uBufferCount));
|
||||
}
|
||||
if (CUtils::GetBoolInput("Would you like your buffer to be sticky?", false)) {
|
||||
if (CUtils::GetBoolInput("Would you like to keep buffers after replay?", false)) {
|
||||
vsLines.push_back("\tKeepBuffer = true");
|
||||
} else {
|
||||
vsLines.push_back("\tKeepBuffer = false");
|
||||
|
||||
Reference in New Issue
Block a user