summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/MirLua/Modules/m_schedule/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/Modules/m_schedule/src/main.cpp b/plugins/MirLua/Modules/m_schedule/src/main.cpp
index 61fa6a0a97..52ff7788b0 100644
--- a/plugins/MirLua/Modules/m_schedule/src/main.cpp
+++ b/plugins/MirLua/Modules/m_schedule/src/main.cpp
@@ -68,7 +68,7 @@ wait: WaitForSingleObject(hScheduleEvent, waitTime);
while (ScheduleTask *task = tasks[0])
{
- if (Miranda_Terminated())
+ if (Miranda_IsTerminated())
return;
mir_cslock lock(threadLock);