# HG changeset patch # User Link Mauve # Date 1769781870 -3600 # Node ID 0371619d385119ef87b7d0a8946dafd7e23ea2f3 # Parent 268220ce06255da75aa0d758b7522b62ee3d61ca mod_storage_ldap: Switch to prosody.util.time.now() to get the current time diff -r 268220ce0625 -r 0371619d3851 mod_storage_ldap/mod_storage_ldap.lua --- a/mod_storage_ldap/mod_storage_ldap.lua Fri Jan 30 15:04:25 2026 +0100 +++ b/mod_storage_ldap/mod_storage_ldap.lua Fri Jan 30 15:04:30 2026 +0100 @@ -17,7 +17,7 @@ local ldap = module:require 'ldap'; local vcardlib = module:require 'ldap/vcard'; local st = require 'util.stanza'; -local gettime = require 'socket'.gettime; +local gettime = require "prosody.util.time".now; if not ldap then return;