diff options
author | Kim Alvefur <zash@zash.se> | 2016-02-03 02:16:28 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-02-03 02:16:28 +0100 |
commit | 4050c7d17284f6f20d98a0a872f8c11253843033 (patch) | |
tree | b99d38da4f214916ade068b0a6171ec019c86dc1 | |
parent | d9986270925b31fa4ab7cc6813d673233b4ce4f8 (diff) | |
download | prosody-4050c7d17284f6f20d98a0a872f8c11253843033.tar.gz prosody-4050c7d17284f6f20d98a0a872f8c11253843033.zip |
MUC: Fix copypaste mistake
-rw-r--r-- | plugins/muc/name.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/name.lib.lua b/plugins/muc/name.lib.lua index 18400e92..302c2992 100644 --- a/plugins/muc/name.lib.lua +++ b/plugins/muc/name.lib.lua @@ -31,7 +31,7 @@ module:hook("muc-config-form", function(event) type = "text-single"; label = "Name"; }); - event.formdata["muc#roomconfig_roomname"] = get_description(event.room) or ""; + event.formdata["muc#roomconfig_roomname"] = get_name(event.room) or ""; end); module:hook("muc-config-submitted/muc#roomconfig_roomname", function(event) |