mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Fix #624: Can´t rename network via webinterface
This commit is contained in:
@@ -635,14 +635,7 @@ void CClient::UserCommand(CString& sLine) {
|
||||
}
|
||||
}
|
||||
|
||||
CFile fOldNVFile = CFile(sOldModPath + "/.registry");
|
||||
if (!fOldNVFile.Exists()) {
|
||||
continue;
|
||||
}
|
||||
if (!CFile::Exists(sNewModPath)) {
|
||||
CDir::MakeDir(sNewModPath);
|
||||
}
|
||||
fOldNVFile.Copy(sNewModPath + "/.registry");
|
||||
(*i)->MoveRegistry(sNewModPath);
|
||||
}
|
||||
|
||||
CString sNetworkAddError;
|
||||
|
||||
Reference in New Issue
Block a user