diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-07-15 11:43:23 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-07-15 11:43:23 +0100 |
commit | 94a868c6a57a25282b154912166047642c4a7a9c (patch) | |
tree | e24069ba5abcb41a0498819a72e7407f4ac38711 /core | |
parent | 2a86e85a20da4563ed1e6bca08504fb88ffc66a6 (diff) | |
download | prosody-94a868c6a57a25282b154912166047642c4a7a9c.tar.gz prosody-94a868c6a57a25282b154912166047642c4a7a9c.zip |
rostermanager, mod_groups: Change roster-load event to pass an event table for consistency
Diffstat (limited to 'core')
-rw-r--r-- | core/rostermanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/rostermanager.lua b/core/rostermanager.lua index 5e06e3f7..4c669eac 100644 --- a/core/rostermanager.lua +++ b/core/rostermanager.lua @@ -100,7 +100,7 @@ function load_roster(username, host) log("warn", "roster for %s has a self-contact", jid); end if not err then - hosts[host].events.fire_event("roster-load", username, host, roster); + hosts[host].events.fire_event("roster-load", { username = username, host = host, roster = roster }); end return roster, err; end |