makeconf: use username instead of nick as ident

Username and ident are more likely to match.
This commit is contained in:
J-P Nurmi
2014-09-07 14:29:52 +02:00
parent 139282fe38
commit 69e38cafe2

View File

@@ -684,7 +684,7 @@ bool CZNC::WriteNewConfig(const CString& sConfigFile) {
if (!sAnswer.empty()) {
vsLines.push_back("\tAltNick = " + sAnswer);
}
CUtils::GetInput("Ident", sAnswer, sNick);
CUtils::GetInput("Ident", sAnswer, sUser);
vsLines.push_back("\tIdent = " + sAnswer);
CUtils::GetInput("Real Name", sAnswer, "Got ZNC?");
vsLines.push_back("\tRealName = " + sAnswer);