diff options
Diffstat (limited to 'protocols/MSN/src/msn_proto.cpp')
-rw-r--r-- | protocols/MSN/src/msn_proto.cpp | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/protocols/MSN/src/msn_proto.cpp b/protocols/MSN/src/msn_proto.cpp index 276d1e7af2..1361d363e0 100644 --- a/protocols/MSN/src/msn_proto.cpp +++ b/protocols/MSN/src/msn_proto.cpp @@ -954,14 +954,9 @@ int CMsnProto::SetApparentMode(MCONTACT hContact, int mode) return 1;
}
-int CMsnProto::OnEvent(PROTOEVENTTYPE eventType, WPARAM, LPARAM)
+void CMsnProto::OnErase()
{
- switch (eventType) {
- case EV_PROTO_ONERASE:
- char szDbsettings[64];
- mir_snprintf(szDbsettings, "%s_HTTPS", m_szModuleName);
- db_delete_module(0, szDbsettings);
- break;
- }
- return 1;
+ char szDbsettings[64];
+ mir_snprintf(szDbsettings, "%s_HTTPS", m_szModuleName);
+ db_delete_module(0, szDbsettings);
}
|