summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-08-26 14:57:51 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-08-26 14:57:51 +0300
commit93a09024ab433c866e87c5a6e33f982d7e8e32ab (patch)
tree13f86c292e2f4a628834a55466e27993ca99864a /protocols/FacebookRM/src/main.cpp
parentcb2efce1a4fe9c89c5fef63b3aca63f3e63983fc (diff)
unified fake User-Agent field generation for all http-related protocols
Diffstat (limited to 'protocols/FacebookRM/src/main.cpp')
-rw-r--r--protocols/FacebookRM/src/main.cpp5
1 files changed, 0 insertions, 5 deletions
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 <http://www.gnu.org/licenses/>.
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;
}