aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/muc')
-rw-r--r--plugins/muc/muc.lib.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index b48ee7db..fe3b7c93 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -127,6 +127,7 @@ function room_mt:save_occupant(occupant)
occupant = nil
end
self._occupants[id] = occupant
+ return occupant
end
function room_mt:route_to_occupant(occupant, stanza)