Merge 0.9->trunk
[prosody.git] / plugins / mod_presence.lua
index 077bc31fa6cd520f346abd04bc558d6974df802a..20d0adf0504182e32ac7b28dfd33c1bc033a0acd 100644 (file)
@@ -116,8 +116,8 @@ function handle_normal_presence(origin, stanza)
                end
 
                if priority >= 0 then
-                        local event = { origin = origin }
-                        module:fire_event('message/offline/broadcast', event);
+                       local event = { origin = origin }
+                       module:fire_event('message/offline/broadcast', event);
                end
        end
        if stanza.attr.type == "unavailable" then