diff options
author | George Hazan <ghazan@miranda.im> | 2021-05-02 13:32:41 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-05-02 13:32:41 +0300 |
commit | b1b5248eb9638d7501f16182aee2458f44765500 (patch) | |
tree | 436d5f505696fe859b4b71371d91cf33c289f090 /plugins | |
parent | 2ea8dcf7e3d506001ef35b31be63a83576ee26a3 (diff) |
tabSRMM: crash on clean profile
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/TabSRMM/src/srmm.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/srmm.cpp b/plugins/TabSRMM/src/srmm.cpp index fd910be91c..f680eca97e 100644 --- a/plugins/TabSRMM/src/srmm.cpp +++ b/plugins/TabSRMM/src/srmm.cpp @@ -52,10 +52,8 @@ PLUGININFOEX pluginInfoEx = { }; CMPlugin::CMPlugin() : - PLUGIN<CMPlugin>("SRMsg", pluginInfoEx), - hLogger(RegisterSrmmLog("built-in", L"tabSRMM internal log", &logBuilder)) -{ -} + PLUGIN<CMPlugin>("SRMsg", pluginInfoEx) +{} ///////////////////////////////////////////////////////////////////////////////////////// @@ -67,6 +65,8 @@ int CMPlugin::Load() { SystemParametersInfo(SPI_GETICONTITLELOGFONT, sizeof(lfDefault), &lfDefault, FALSE); + hLogger = RegisterSrmmLog("built-in", L"tabSRMM internal log", &logBuilder); + Chat_Load(); return LoadSendRecvMessageModule(); |