LJ::get_cap_min — Just like LJ::get_cap, but returns the minimum value. Although it might not make sense at first, some things are better when they're low, like the minimum amount of time a user might have to wait between getting updates or being allowed to refresh a page.
LJ::get_cap_min
(u_cap, capname);
u_cap. 16 bit capability bitmask or a user object from which the bitmask could be obtained
capname. the name of a limit, defined in doc/capabilities.txt
cgi-bin/ljlib.pl