# HG changeset patch # User Kim Alvefur # Date 1599835547 -7200 # Node ID 4e7ff27c212c1ffc5c5f8718c70af168b81c271b # Parent 0e1e775bdea0d2bd1ca99a2a218994eedb240742 mod_lastlog2: Fix 'registered' event (Thanks Ge0rG) Looks like this event was not updated for the map change, it's still how it was in mod_lastlog(1) diff -r 0e1e775bdea0 -r 4e7ff27c212c mod_lastlog2/mod_lastlog2.lua --- a/mod_lastlog2/mod_lastlog2.lua Fri Sep 11 15:45:45 2020 +0200 +++ b/mod_lastlog2/mod_lastlog2.lua Fri Sep 11 16:45:47 2020 +0200 @@ -29,8 +29,7 @@ module:hook("user-registered", function(event) local session = event.session; - store:set(event.username, "lastlog", { - event = "registered"; + store:set(event.username, "registered", { timestamp = time(), ip = log_ip and session and session.ip or nil, });