aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/name.lib.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/muc/name.lib.lua')
-rw-r--r--plugins/muc/name.lib.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/muc/name.lib.lua b/plugins/muc/name.lib.lua
index 37fe1259..5d73e74d 100644
--- a/plugins/muc/name.lib.lua
+++ b/plugins/muc/name.lib.lua
@@ -7,10 +7,8 @@
-- COPYING file in the source package for more information.
--
-local jid_split = require "util.jid".split;
-
local function get_name(room)
- return room._data.name or jid_split(room.jid);
+ return room._data.name;
end
local function set_name(room, name)