aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/modulemanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua
index b89c5af3..8d4d5633 100644
--- a/core/modulemanager.lua
+++ b/core/modulemanager.lua
@@ -189,7 +189,7 @@ function unload(host, name, ...)
for i = #t,1,-1 do
local value = t[i];
t[i] = nil;
- hosts[host].events.fire_event("item-removed/"..key, {source = self, item = value});
+ hosts[host].events.fire_event("item-removed/"..key, {source = mod.module, item = value});
end
end
end