1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# File 'manifests/modules/chanprotect.pp', line 1
class inspircd::modules::chanprotect (
$noservices = 'no',
$qprefix = '~',
$aprefix = '&',
$deprotectself = 'yes',
$deprotectothers = 'yes',
){
$config = {
noservices => $noservices,
qprefix => $qprefix,
aprefix => $aprefix,
deprotectself => $deprotectself,
deprotectothers => $deprotectothers,
}
::inspircd::internal::configblock { "inspircd ${name} ":
config_name => 'chanprotect',
config => $config,
section => 'modules'
}
}
|