summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/srmm.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-10-02 20:42:44 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-10-02 20:42:44 +0300
commit7a948f1ef804ecd9971b0869e0591c22944fa6da (patch)
treecdc2df2e2d5f186da4b8778b4e1c9e79013ff921 /plugins/TabSRMM/src/srmm.cpp
parent9fe4e9044069e70b3f0e1df0e187f5ea43805ea1 (diff)
merge with SrmmLogContainer
Diffstat (limited to 'plugins/TabSRMM/src/srmm.cpp')
-rw-r--r--plugins/TabSRMM/src/srmm.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/srmm.cpp b/plugins/TabSRMM/src/srmm.cpp
index 608d6b919f..00f154fd81 100644
--- a/plugins/TabSRMM/src/srmm.cpp
+++ b/plugins/TabSRMM/src/srmm.cpp
@@ -70,6 +70,8 @@ int CMPlugin::Load()
SystemParametersInfo(SPI_GETICONTITLELOGFONT, sizeof(lfDefault), &lfDefault, FALSE);
+ hLogger = RegisterSrmmLog("built-in", L"tabSRMM internal log", &logBuilder);
+
Chat_Load();
return LoadSendRecvMessageModule();
@@ -79,6 +81,7 @@ int CMPlugin::Load()
int CMPlugin::Unload()
{
+ UnregisterSrmmLog(hLogger);
FreeLogFonts();
Chat_Unload();
int iRet = SplitmsgShutdown();