provide plugin hooks for blacklist checking functions.
This commit is contained in:
11
doc/hook/check_channelallowed.bb
Normal file
11
doc/hook/check_channelallowed.bb
Normal file
@@ -0,0 +1,11 @@
|
||||
[h2]check_channelallowed[/h2]
|
||||
|
||||
Called when checking the channel (xchan) black and white lists to see if a channel is blocked.
|
||||
|
||||
Hook data
|
||||
|
||||
array('hash' => xchan_hash of xchan to check);
|
||||
|
||||
create and set array element 'allowed' to true or false to override the system checks
|
||||
|
||||
|
||||
10
doc/hook/check_siteallowed.bb
Normal file
10
doc/hook/check_siteallowed.bb
Normal file
@@ -0,0 +1,10 @@
|
||||
[h2]check_siteallowed[/h2]
|
||||
|
||||
Called when checking the site black and white lists to see if a site is blocked.
|
||||
|
||||
Hook data
|
||||
|
||||
array('url' => URL of site to check);
|
||||
|
||||
create and set array element 'allowed' to true or false to override the system checks
|
||||
|
||||
Reference in New Issue
Block a user