MUC: Fix copypaste mistake
authorKim Alvefur <zash@zash.se>
Wed, 3 Feb 2016 01:16:28 +0000 (02:16 +0100)
committerKim Alvefur <zash@zash.se>
Wed, 3 Feb 2016 01:16:28 +0000 (02:16 +0100)
plugins/muc/name.lib.lua

index 18400e92ca8bba3491a7c7c3b58b730dc7f114b1..302c29924949d569a492f6a3f00ff1b3136ccc6c 100644 (file)
@@ -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)