Green’s Dictionary of Slang

fun joint n.

[Chi. fun, a measure of opium + joint n. (3a)]

(US drugs) an opium den.

[US] cited by D. Maurer in Amer. Mercury Feb.
[US]Anslinger & Tompkins Traffic In Narcotics 308: fun joint. An opium den.