summaryrefslogtreecommitdiff
path: root/plugins/SeenPlugin
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-01-26 15:06:23 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-01-26 15:06:23 +0300
commit76350d50ef7043a171292d6ec7574ed863af4067 (patch)
tree97d563f4f0ec945e068eef1183c2c7c83aafdf39 /plugins/SeenPlugin
parent2e2483f97aac9b7b3d6819f434377c093d96e764 (diff)
code cleaning
Diffstat (limited to 'plugins/SeenPlugin')
-rw-r--r--plugins/SeenPlugin/src/userinfo.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/SeenPlugin/src/userinfo.cpp b/plugins/SeenPlugin/src/userinfo.cpp
index 0d117d1f99..b9691bfa4e 100644
--- a/plugins/SeenPlugin/src/userinfo.cpp
+++ b/plugins/SeenPlugin/src/userinfo.cpp
@@ -63,11 +63,9 @@ INT_PTR CALLBACK UserinfoDlgProc(HWND hdlg, UINT msg, WPARAM wparam, LPARAM lpar
return 0;
}
-int UserinfoInit(WPARAM wparam, LPARAM lparam)
+int UserinfoInit(WPARAM wparam, LPARAM hContact)
{
- MCONTACT hContact = (MCONTACT)lparam;
char *szProto = GetContactProto(hContact);
-
if (IsWatchedProtocol(szProto) && !db_get_b(hContact, szProto, "ChatRoom", false)) {
OPTIONSDIALOGPAGE uip = { sizeof(uip) };
uip.pszTemplate = MAKEINTRESOURCEA(IDD_USERINFO);