make quadopts be consistently dealt with as strings.
[apps/madmutt.git] / lib-lua / base.cpkg
index f9b7304..221e2a0 100644 (file)
@@ -7,7 +7,7 @@
 @type quadopt_t {
     .ctype = unsigned : 2;
     .check = luaM_checkquadopt($L, $$);
 @type quadopt_t {
     .ctype = unsigned : 2;
     .check = luaM_checkquadopt($L, $$);
-    .push  = lua_pushinteger($L, $$);
+    .push  = luaM_pushquadopt($L, $$);
 };
 
 @type string_t {
 };
 
 @type string_t {