diff mod_http_muc_kick/mod_http_muc_kick.lua @ 4643:df09f9ce0b1b

mod_http_muc_kick: Fix typo
author Seve Ferrer <seve@delape.net>
date Thu, 12 Aug 2021 11:05:43 +0200
parents 9fc52ccfb445
children e524a97730eb
line wrap: on
line diff
--- a/mod_http_muc_kick/mod_http_muc_kick.lua	Tue Aug 10 13:27:16 2021 +0200
+++ b/mod_http_muc_kick/mod_http_muc_kick.lua	Thu Aug 12 11:05:43 2021 +0200
@@ -78,7 +78,7 @@
             -- https://xmpp.org/extensions/xep-0045.html#kick
             local success, error, condition = muc:set_role(true, occupant_jid, nil, reason);
             if not success then
-                return handle_error(response, 400, "Coudln't kick user: ".. error .. ": " .. condition);
+                return handle_error(response, 400, "Couldn't kick user: ".. error .. ": " .. condition);
             end
             
             -- Kick was successful