diff --git a/src/lua_maplib.c b/src/lua_maplib.c
index 5f77b2b5c2211240dc50f29148ae756235aa3e88..e7801d7737a85fc7d5539e1cb82d50b27b185e92 100644
--- a/src/lua_maplib.c
+++ b/src/lua_maplib.c
@@ -1169,7 +1169,7 @@ static int mapheaderinfo_get(lua_State *L)
 	else if (fastcmp(field,"nextlevel"))
 		lua_pushinteger(L, header->nextlevel);
 	else if (fastcmp(field,"musname"))
-		lua_pushlstring(L, header->musname, 6);
+		lua_pushstring(L, header->musname);
 	else if (fastcmp(field,"mustrack"))
 		lua_pushinteger(L, header->mustrack);
 	else if (fastcmp(field,"forcecharacter"))