# HG changeset patch # User Link Mauve # Date 1769781874 -3600 # Node ID 5d775652cb984946429c6504dec3b986b43c5a94 # Parent 0371619d385119ef87b7d0a8946dafd7e23ea2f3 mod_s2s_auth_monkeysphere: Switch to prosody.util.time.now() to get the current time diff -r 0371619d3851 -r 5d775652cb98 mod_s2s_auth_monkeysphere/mod_s2s_auth_monkeysphere.lua --- a/mod_s2s_auth_monkeysphere/mod_s2s_auth_monkeysphere.lua Fri Jan 30 15:04:30 2026 +0100 +++ b/mod_s2s_auth_monkeysphere/mod_s2s_auth_monkeysphere.lua Fri Jan 30 15:04:34 2026 +0100 @@ -2,7 +2,7 @@ local json = require"util.json"; local json_encode, json_decode = json.encode, json.decode; -local gettime = require"socket".gettime; +local gettime = require "prosody.util.time".now; local serialize = require"util.serialization".serialize; local async = require"util.async"; local http_request = require "net.http".request;