Mercurial > prosody-modules
diff mod_s2s_auth_monkeysphere/mod_s2s_auth_monkeysphere.lua @ 6383:5d775652cb98
mod_s2s_auth_monkeysphere: Switch to prosody.util.time.now() to get the current time
| author | Link Mauve <linkmauve@linkmauve.fr> |
|---|---|
| date | Fri, 30 Jan 2026 15:04:34 +0100 |
| parents | 8d1141025b43 |
| children | 750a88ada88e |
line wrap: on
line diff
--- 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;
