Changeset

7121:bb1adaabcff6

MUC: Fix copypaste mistake
author Kim Alvefur <zash@zash.se>
date Wed, 03 Feb 2016 02:16:28 +0100
parents 7120:a6afe52159f1
children 7123:a7ace4f32080
files plugins/muc/name.lib.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)