summaryrefslogtreecommitdiff
path: root/src/elua_func.cpp
diff options
context:
space:
mode:
author彭宣正 <[email protected]>2022-09-22 10:48:35 +0800
committer彭宣正 <[email protected]>2022-09-22 10:48:35 +0800
commit7760c274c258b19585f40b8db5f443d7ead425d6 (patch)
tree50fd4eec643166ead56dbde1eddf98fdb2f50c3b /src/elua_func.cpp
parentca53d85c263274e1d121668d0594e1c642c98447 (diff)
🐞 fix(TSG-12061): 获取ar->what 内容HEADv2.0.1master
Diffstat (limited to 'src/elua_func.cpp')
-rw-r--r--src/elua_func.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elua_func.cpp b/src/elua_func.cpp
index 4c105d0..e4eef3f 100644
--- a/src/elua_func.cpp
+++ b/src/elua_func.cpp
@@ -509,7 +509,7 @@ static void luaMaskCountHook(struct elua_vm *vm, lua_Debug *ar)
long elapsed = mstime() - elua_info->time_now;
if ( elua_info->time_limit > 0 && elapsed > elua_info->time_limit)
{
- //printf("elasped:%ld\n", elapsed);
+ lua_getinfo(L, "S", ar);
if (ar->what && memcmp(ar->what, "C", 1) == 0)
{
elua_info->is_expired = true;