summaryrefslogtreecommitdiff
path: root/worldtime/WorldTime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'worldtime/WorldTime.cpp')
-rw-r--r--worldtime/WorldTime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/worldtime/WorldTime.cpp b/worldtime/WorldTime.cpp
index bb5b58d..7e46359 100644
--- a/worldtime/WorldTime.cpp
+++ b/worldtime/WorldTime.cpp
@@ -111,7 +111,7 @@ extern "C" WORLDTIME_API int Load(PLUGINLINK *link)
if(build_timezone_list()) {
- DuplicateHandle( GetCurrentProcess(), GetCurrentThread(), GetCurrentProcess(), &mainThread, THREAD_SET_CONTEXT, FALSE, 0 );
+ DuplicateHandle( GetCurrentProcess(), GetCurrentThread(), GetCurrentProcess(), &mainThread, 0, FALSE, DUPLICATE_SAME_ACCESS );
CreatePluginServices();
HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);