diff options
Diffstat (limited to 'protocols/FacebookRM/src/main.cpp')
-rw-r--r-- | protocols/FacebookRM/src/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/main.cpp b/protocols/FacebookRM/src/main.cpp index 598dc2b5b9..8aa058ec4d 100644 --- a/protocols/FacebookRM/src/main.cpp +++ b/protocols/FacebookRM/src/main.cpp @@ -115,6 +115,9 @@ extern "C" int __declspec(dllexport) Load(void) agent << __VERSION_STRING_DOTS;
g_strUserAgent = agent.str();
+ // Initialize random generator
+ srand(::time(NULL));
+
return 0;
}
|