Changeset

12048:f087bfd021ad

mod_smacks: Fix typo
author Kim Alvefur <zash@zash.se>
date Wed, 15 Dec 2021 11:24:45 +0100
parents 12047:81858fd6f198
children 12049:7dde1edaf067
files plugins/mod_smacks.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_smacks.lua	Tue Dec 14 12:59:38 2021 +0100
+++ b/plugins/mod_smacks.lua	Wed Dec 15 11:24:45 2021 +0100
@@ -442,7 +442,7 @@
 					prosody.hosts[module.host].sessions[session.username].sessions or nil;
 			if sessions and next(sessions) == session.resource and next(sessions, session.resource) == nil then
 				local ok = module:fire_event("message/offline/handle", { origin = session, username = session.username, stanza = stanza });
-				session.log("debug", "mod_smacks delivery/failuere returning %s for offline-handled stanza", tostring(ok));
+				session.log("debug", "mod_smacks delivery/failure returning %s for offline-handled stanza", tostring(ok));
 				return ok; -- if stanza was handled, don't send an error
 			end
 		end