Diff

plugins/muc/name.lib.lua @ 7121:bb1adaabcff6

MUC: Fix copypaste mistake
author Kim Alvefur <zash@zash.se>
date Wed, 03 Feb 2016 02:16:28 +0100
parent 7119:50b9a7e86de9
child 7124:a0764a8d6b26
line wrap: on
line diff
--- a/plugins/muc/name.lib.lua	Wed Feb 03 02:13:03 2016 +0100
+++ b/plugins/muc/name.lib.lua	Wed Feb 03 02:16:28 2016 +0100
@@ -31,7 +31,7 @@
 		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)