$bit = $vbulletin->bf_ugp['genericoptions']['isnotbannedgroup'];$db->query_read(" ... WHERE NOT($bit & usergroup.genericoptions)");