From fcae50377289915682e56fcbd49297d76da38b51 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 22 Apr 2018 14:49:00 +0300 Subject: no more PROTO_INTERFACE::OnEvent --- protocols/MSN/src/msn_proto.cpp | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'protocols/MSN/src/msn_proto.cpp') 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); } -- cgit v1.2.3