aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/name.lib.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-02-03 02:16:28 +0100
committerKim Alvefur <zash@zash.se>2016-02-03 02:16:28 +0100
commit6b679da5299ada6254e8f5bf8e8e3284a812dc1d (patch)
treeb99d38da4f214916ade068b0a6171ec019c86dc1 /plugins/muc/name.lib.lua
parentc28642d749a62163213d926f9951cb2fb27c28b2 (diff)
downloadprosody-6b679da5299ada6254e8f5bf8e8e3284a812dc1d.tar.gz
prosody-6b679da5299ada6254e8f5bf8e8e3284a812dc1d.zip
MUC: Fix copypaste mistake
Diffstat (limited to 'plugins/muc/name.lib.lua')
-rw-r--r--plugins/muc/name.lib.lua2
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)