diff options
Diffstat (limited to 'plop.c')
-rw-r--r-- | plop.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -107,7 +107,7 @@ int plop_make_server(const char * node, const char * service) int plop_load_handler(lua_State * L, const char * path) { lua_getglobal(L, "package"); - lua_pushstring(L, "loaded"); + lua_pushliteral(L, "loaded"); int result = lua_rawget(L, -2); if (LUA_TTABLE != result) @@ -124,7 +124,7 @@ int plop_load_handler(lua_State * L, const char * path) return result; } - lua_pushstring(L, "handler"); + lua_pushliteral(L, "handler"); lua_pushvalue(L, -2); lua_rawset(L, -4); lua_setglobal(L, "handler"); |