diff options
Diffstat (limited to 'src/timeout.c')
-rw-r--r-- | src/timeout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timeout.c b/src/timeout.c index 266a86e..fdbc47a 100644 --- a/src/timeout.c +++ b/src/timeout.c | |||
@@ -125,9 +125,9 @@ void tm_open(lua_State *L) | |||
125 | (void) L; | 125 | (void) L; |
126 | #ifdef _DEBUG | 126 | #ifdef _DEBUG |
127 | lua_pushcfunction(L, tm_lua_time); | 127 | lua_pushcfunction(L, tm_lua_time); |
128 | lua_setglobal(L, "_time"); | 128 | priv_newglobal(L, "_time"); |
129 | lua_pushcfunction(L, tm_lua_sleep); | 129 | lua_pushcfunction(L, tm_lua_sleep); |
130 | lua_setglobal(L, "_sleep"); | 130 | priv_newglobal(L, "_sleep"); |
131 | #endif | 131 | #endif |
132 | } | 132 | } |
133 | 133 | ||