diff options
Diffstat (limited to 'plugins/Db3x_mmap')
-rw-r--r-- | plugins/Db3x_mmap/src/dbevents.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/Db3x_mmap/src/dbevents.cpp b/plugins/Db3x_mmap/src/dbevents.cpp index 2a50bcf0f8..5bbb4853cb 100644 --- a/plugins/Db3x_mmap/src/dbevents.cpp +++ b/plugins/Db3x_mmap/src/dbevents.cpp @@ -573,6 +573,10 @@ void CDb3Mmap::ConvertEvents() DBContact dbc = *(DBContact*)DBRead(dwOffset, sizeof(DBContact), NULL);
ConvertContactEvents(&dbc);
DBWrite(dwOffset, &dbc, sizeof(dbc));
+
+ if (m_contactsMap.find((ConvertedContact*)&dbc.dwContactID) == NULL)
+ m_contactsMap.insert(new ConvertedContact(dwOffset, dbc.dwContactID));
+
dwOffset = dbc.ofsNext;
}
|