Switch znc.in URLs to https

This commit is contained in:
Alexey Sokolov
2017-05-30 22:32:01 +01:00
parent ef5ace9b86
commit 10bfece38c
13 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -1359,7 +1359,7 @@ CString CUser::GetRealName() const {
// Not include version number via GetTag() because of
// https://github.com/znc/znc/issues/818#issuecomment-70402820
return (!m_sRealName.Trim_n().empty()) ? m_sRealName
: "ZNC - http://znc.in";
: "ZNC - https://znc.in";
}
const CString& CUser::GetBindHost() const { return m_sBindHost; }
const CString& CUser::GetDCCBindHost() const { return m_sDCCBindHost; }
+1 -1
View File
@@ -411,7 +411,7 @@ int main(int argc, char** argv) {
CUtils::PrintError(
"No modules found. Perhaps you didn't install ZNC properly?");
CUtils::PrintError(
"Read http://wiki.znc.in/Installation for instructions.");
"Read https://wiki.znc.in/Installation for instructions.");
if (!CUtils::GetBoolInput(
"Do you really want to run ZNC without any modules?",
false)) {
+3 -3
View File
@@ -126,8 +126,8 @@ CString CZNC::GetTag(bool bIncludeVersion, bool bHTML) {
if (!Get().m_bHideVersion) {
bIncludeVersion = true;
}
CString sAddress =
bHTML ? "<a href=\"http://znc.in\">http://znc.in</a>" : "http://znc.in";
CString sAddress = bHTML ? "<a href=\"https://znc.in\">https://znc.in</a>"
: "https://znc.in";
if (!bIncludeVersion) {
return "ZNC - " + sAddress;
@@ -624,7 +624,7 @@ CString CZNC::MakeConfigHeader() {
"//\n"
"// But if you feel risky, you might want to read help on /znc "
"saveconfig and /znc rehash.\n"
"// Also check http://wiki.znc.in/Configuration\n";
"// Also check https://wiki.znc.in/Configuration\n";
}
bool CZNC::WriteNewConfig(const CString& sConfigFile) {