summaryrefslogtreecommitdiff
path: root/server/src/matcher/vm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/matcher/vm.lua')
-rw-r--r--server/src/matcher/vm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/matcher/vm.lua b/server/src/matcher/vm.lua
index b7941b2c..b8b3a18b 100644
--- a/server/src/matcher/vm.lua
+++ b/server/src/matcher/vm.lua
@@ -107,6 +107,7 @@ function mt:addInfo(obj, type, source)
source = source or DefaultSource,
}
if source then
+ source.uri = self.uri
local other = self.results.sources[source]
if other then
if other.type == 'multi-source' then
@@ -578,7 +579,6 @@ function mt:createValue(tp, source, v)
type = tp,
source = source or DefaultSource,
value = v,
- uri = self.uri,
}
local lib = library.object[tp]
if lib then