From 6b679da5299ada6254e8f5bf8e8e3284a812dc1d Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 3 Feb 2016 02:16:28 +0100 Subject: MUC: Fix copypaste mistake --- plugins/muc/name.lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/muc') 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) -- cgit v1.2.3