summaryrefslogtreecommitdiff
path: root/plugins/SimpleAR/src/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SimpleAR/src/Main.cpp')
-rw-r--r--plugins/SimpleAR/src/Main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/SimpleAR/src/Main.cpp b/plugins/SimpleAR/src/Main.cpp
index 8f465e07f7..1f913fd0fc 100644
--- a/plugins/SimpleAR/src/Main.cpp
+++ b/plugins/SimpleAR/src/Main.cpp
@@ -181,11 +181,9 @@ TCHAR* StrReplace (TCHAR* Search, TCHAR* Replace, TCHAR* Resource)
return Resource;
}
-INT addEvent(WPARAM hContact, LPARAM lParam)
+INT addEvent(WPARAM hContact, LPARAM hDBEvent)
{
- HANDLE hDBEvent = (HANDLE)lParam;
BOOL fEnabled = db_get_b(NULL, protocolname, KEY_ENABLED, 1);
-
if (!fEnabled || !hContact || !hDBEvent)
return FALSE; /// unspecifyed error