accept block
This commit is contained in:
2
peer.php
2
peer.php
@@ -162,7 +162,7 @@ if ($q == "peer") {
|
|||||||
// if sanity sync, refuse all
|
// if sanity sync, refuse all
|
||||||
if ($_config['sanity_sync'] == 1) {
|
if ($_config['sanity_sync'] == 1) {
|
||||||
_log('['.$ip."] Block rejected due to sanity sync");
|
_log('['.$ip."] Block rejected due to sanity sync");
|
||||||
api_err("sanity-sync");
|
//api_err("sanity-sync");
|
||||||
}
|
}
|
||||||
$data['id'] = san($data['id']);
|
$data['id'] = san($data['id']);
|
||||||
$current = $block->current();
|
$current = $block->current();
|
||||||
|
|||||||
Reference in New Issue
Block a user