aboutsummaryrefslogtreecommitdiffstats
path: root/include/gprobe.php
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2015-09-19 11:35:31 +0200
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2015-09-19 11:35:31 +0200
commit5a7e8d8520601b3c08ef15c520da19d05b31d23b (patch)
treed6f91b9982f80d7db26beb8be953ca8f3325af85 /include/gprobe.php
parent1bd1050160efd88483a50c3a2a239e2160048924 (diff)
parent63146821d7f28107ca34fbe581dcc3abf6fd49fe (diff)
downloadvolse-hubzilla-5a7e8d8520601b3c08ef15c520da19d05b31d23b.tar.gz
volse-hubzilla-5a7e8d8520601b3c08ef15c520da19d05b31d23b.tar.bz2
volse-hubzilla-5a7e8d8520601b3c08ef15c520da19d05b31d23b.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'include/gprobe.php')
-rw-r--r--include/gprobe.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gprobe.php b/include/gprobe.php
index 48c1c8e14..d8d893d9e 100644
--- a/include/gprobe.php
+++ b/include/gprobe.php
@@ -14,6 +14,9 @@ function gprobe_run($argv, $argc){
$url = hex2bin($argv[1]);
+ if(! strpos($url,'@'))
+ return;
+
$r = q("select * from xchan where xchan_addr = '%s' limit 1",
dbesc($url)
);