function antispam_perm in AntiSpam 6
Implementation of hook_perm().
File
- ./
antispam.module, line 171
Code
function antispam_perm() {
$perms = array(
'administer antispam settings',
);
foreach (node_get_types('names') as $type => $name) {
$perms[] = 'moderate spam in nodes of type ' . $name;
}
$perms[] = 'moderate spam in comments';
$perms[] = 'post with no antispam checking';
return $perms;
}