mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Remove some places where "znc.conf" is mentioned needlessly
CZNC::ExpandConfigPath() handles an empty string as its argument quite well, so make all those other places use this. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1469 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
2
znc.cpp
2
znc.cpp
@@ -587,7 +587,7 @@ bool CZNC::WriteNewConfig(const CString& sConfigFile) {
|
||||
CString sAnswer, sUser;
|
||||
VCString vsLines;
|
||||
|
||||
m_sConfigFile = ExpandConfigPath((sConfigFile.empty()) ? "znc.conf" : sConfigFile);
|
||||
m_sConfigFile = ExpandConfigPath(sConfigFile);
|
||||
CUtils::PrintMessage("Building new config");
|
||||
|
||||
CUtils::PrintMessage("");
|
||||
|
||||
Reference in New Issue
Block a user