diff options
Diffstat (limited to 'protocols/JabberG/src/jabber.cpp')
-rwxr-xr-x | protocols/JabberG/src/jabber.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/JabberG/src/jabber.cpp b/protocols/JabberG/src/jabber.cpp index 854d565e1f..cbcdfa3861 100755 --- a/protocols/JabberG/src/jabber.cpp +++ b/protocols/JabberG/src/jabber.cpp @@ -71,6 +71,10 @@ static PLUGININFOEX pluginInfoEx = { CMPlugin::CMPlugin() :
ACCPROTOPLUGIN<CJabberProto>("JABBER", pluginInfoEx)
{
+ char tmp[8];
+ Utils_GetRandom(tmp, sizeof(tmp));
+ bin2hex(tmp, sizeof(tmp), szRandom);
+
SetUniqueId("jid");
}
@@ -156,10 +160,6 @@ int CMPlugin::Load() bPlatform = 0;
#endif
- char tmp[8];
- Utils_GetRandom(tmp, sizeof(tmp));
- bin2hex(tmp, sizeof(tmp), szRandom);
-
Miranda_GetVersionText(szCoreVersion, _countof(szCoreVersion));
CallService(MS_UTILS_GETCOUNTRYLIST, (WPARAM)&g_cbCountries, (LPARAM)&g_countries);
|