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
commit36043e35fb9885515ec7107f7073105bd2a486cb (patch)
tree79171b77b7986491f5a6427500bd336de59ab1e4 /plugins
parentea8133f31d811764fe60a180b074c03149986c2b (diff)
downloadprosody-36043e35fb9885515ec7107f7073105bd2a486cb.tar.gz
prosody-36043e35fb9885515ec7107f7073105bd2a486cb.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();