aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-09-09 02:14:44 +0200
committerKim Alvefur <zash@zash.se>2018-09-09 02:14:44 +0200
commit406d1f46ab7c8e9feeb05cb1b2bf72d69991f955 (patch)
tree79171b77b7986491f5a6427500bd336de59ab1e4 /plugins
parent0a1cd66889885a798319cbebd3dd0e66ee92e72f (diff)
downloadprosody-406d1f46ab7c8e9feeb05cb1b2bf72d69991f955.tar.gz
prosody-406d1f46ab7c8e9feeb05cb1b2bf72d69991f955.zip
mod_vcard_legacy: Fix uppercase tag name (thanks pep.)
Must have slipped on my shift key
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_vcard_legacy.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_vcard_legacy.lua b/plugins/mod_vcard_legacy.lua
index a59d0c26..1b877b34 100644
--- a/plugins/mod_vcard_legacy.lua
+++ b/plugins/mod_vcard_legacy.lua
@@ -158,7 +158,7 @@ module:hook("iq-set/self/vcard-temp:vCard", function (event)
vcard4:tag("n")
:text_tag("surname", N and N:get_child_text("FAMILY"))
:text_tag("given", N and N:get_child_text("GIVEN"))
- :text_tag("additional", N and N:get_child_text("MIDDLe"))
+ :text_tag("additional", N and N:get_child_text("MIDDLE"))
:text_tag("prefix", N and N:get_child_text("PREFIX"))
:text_tag("suffix", N and N:get_child_text("SUFFIX"))
:up();