diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Dbx_sqlite/src/dbevents.cpp | 2 | ||||
-rw-r--r-- | plugins/NewStory/src/main.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Dbx_sqlite/src/dbevents.cpp b/plugins/Dbx_sqlite/src/dbevents.cpp index 0d41744ba3..38a3546098 100644 --- a/plugins/Dbx_sqlite/src/dbevents.cpp +++ b/plugins/Dbx_sqlite/src/dbevents.cpp @@ -378,7 +378,7 @@ int CDbxSQLite::SetEventJson(MEVENT hDbEvent, const char *szSetting, DBVARIANT * if (cc->IsSub())
hContact = cc->parentID;
- NotifyEventHooks(g_hevEventEdited, hContact, hDbEvent);
+ NotifyEventHooks(g_hevEventSetJson, hContact, hDbEvent);
}
return 0;
}
diff --git a/plugins/NewStory/src/main.cpp b/plugins/NewStory/src/main.cpp index a74019cffb..705dcccdb5 100644 --- a/plugins/NewStory/src/main.cpp +++ b/plugins/NewStory/src/main.cpp @@ -195,6 +195,7 @@ int CMPlugin::Load() HookEvent(ME_DB_EVENT_ADDED, evtEventAdded);
HookEvent(ME_DB_EVENT_DELETED, evtEventDeleted);
HookEvent(ME_DB_EVENT_EDITED, evtEventEdited);
+ HookEvent(ME_DB_EVENT_SETJSON, evtEventEdited);
HookEvent(ME_OPT_INITIALISE, OptionsInitialize);
HookEvent(ME_SYSTEM_MODULESLOADED, evtModulesLoaded);
HookEvent(ME_SYSTEM_PRESHUTDOWN, evtPreShutdown);
|