From 93a09024ab433c866e87c5a6e33f982d7e8e32ab Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 26 Aug 2019 14:57:51 +0300 Subject: unified fake User-Agent field generation for all http-related protocols --- protocols/FacebookRM/src/main.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'protocols/FacebookRM/src/main.cpp') diff --git a/protocols/FacebookRM/src/main.cpp b/protocols/FacebookRM/src/main.cpp index b309767406..bf80befe1c 100644 --- a/protocols/FacebookRM/src/main.cpp +++ b/protocols/FacebookRM/src/main.cpp @@ -24,7 +24,6 @@ along with this program. If not, see . CMPlugin g_plugin; -std::string g_strUserAgent; DWORD g_mirandaVersion; bool g_bMessageState; HWND g_hwndHeartbeat; @@ -75,12 +74,8 @@ int CMPlugin::Load() InitIcons(); InitContactMenus(); - // Init native User-Agent - g_strUserAgent = "Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 Firefox/52.0"; - // Initialize random generator (used only as fallback in utils) srand(::time(0)); - return 0; } -- cgit v1.2.3