aboutsummaryrefslogtreecommitdiffstats
path: root/include/gprobe.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/gprobe.php')
-rw-r--r--include/gprobe.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gprobe.php b/include/gprobe.php
index 25b56525a..2cc87d149 100644
--- a/include/gprobe.php
+++ b/include/gprobe.php
@@ -20,8 +20,8 @@ function gprobe_run($argv, $argc){
if(! $r) {
$x = zot_finger($url,null);
- if($x) {
- $j = json_decode($x,true);
+ if($x['success']) {
+ $j = json_decode($x['body'],true);
$y = import_xchan($j);
}
}