summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/tox_events.cpp')
-rw-r--r--protocols/Tox/src/tox_events.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/Tox/src/tox_events.cpp b/protocols/Tox/src/tox_events.cpp
index cb30de873e..67b6ecfbfc 100644
--- a/protocols/Tox/src/tox_events.cpp
+++ b/protocols/Tox/src/tox_events.cpp
@@ -4,7 +4,6 @@ int CToxProto::OnModulesLoaded(WPARAM, LPARAM)
{
CToxProto::InitIcons();
CToxProto::InitMenus();
- CToxProto::InitCustomDbEvents();
hProfileFolderPath = FoldersRegisterCustomPathT("Tox", Translate("Profiles folder"), MIRANDA_USERDATAT);
@@ -14,7 +13,7 @@ int CToxProto::OnModulesLoaded(WPARAM, LPARAM)
void CToxProto::InitCustomDbEvents()
{
DBEVENTTYPEDESCR dbEventType = { sizeof(dbEventType) };
- dbEventType.module = MODULE;
+ dbEventType.module = m_szModuleName;
dbEventType.flags = DETF_HISTORY | DETF_MSGWINDOW;
dbEventType.eventType = DB_EVENT_ACTION;