From b1e16f70e7a1b667a1da1baee7380c0c85616a8a Mon Sep 17 00:00:00 2001 From: /dev/tty0 Date: Tue, 26 Jan 2016 23:56:49 +0100 Subject: [PATCH] add web2tor --- src/Components/Modules/News.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/Modules/News.cpp b/src/Components/Modules/News.cpp index 94349a71..d152fd28 100644 --- a/src/Components/Modules/News.cpp +++ b/src/Components/Modules/News.cpp @@ -13,14 +13,14 @@ namespace Components { Localization::Set("MPUI_CHANGELOG_TEXT", ""); - News::Motd = Utils::WebIO("IW4x", "http://localhost/iw4/motd.txt").SetTimeout(1000)->Get(); + News::Motd = Utils::WebIO("IW4x", "https://iw4xcachep26muba.onion.to/iw4/motd.txt").SetTimeout(1000)->Get(); if (!News::Motd.size()) { News::Motd = "Welcome to ReactIW4x Multiplayer!"; } - Localization::Set("MPUI_CHANGELOG_TEXT", Utils::WebIO("IW4x", "http://localhost/iw4/changelog.txt").SetTimeout(1000)->Get().data()); + Localization::Set("MPUI_CHANGELOG_TEXT", Utils::WebIO("IW4x", "https://iw4xcachep26muba.onion.to/iw4/changelog.txt").SetTimeout(1000)->Get().data()); // Patch motd setting Utils::Hook(0x60BF19, News::GetMotd, HOOK_CALL).Install()->Quick();