diff options
-rw-r--r-- | src/auxiliar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/auxiliar.c b/src/auxiliar.c index 18fa8e4..5251549 100644 --- a/src/auxiliar.c +++ b/src/auxiliar.c | |||
@@ -143,7 +143,7 @@ void *auxiliar_getgroupudata(lua_State *L, const char *groupname, int objidx) { | |||
143 | * otherwise | 143 | * otherwise |
144 | \*-------------------------------------------------------------------------*/ | 144 | \*-------------------------------------------------------------------------*/ |
145 | void *auxiliar_getclassudata(lua_State *L, const char *classname, int objidx) { | 145 | void *auxiliar_getclassudata(lua_State *L, const char *classname, int objidx) { |
146 | return luaL_checkudata(L, objidx, classname); | 146 | return luaL_testudata(L, objidx, classname); |
147 | } | 147 | } |
148 | 148 | ||
149 | /*-------------------------------------------------------------------------*\ | 149 | /*-------------------------------------------------------------------------*\ |