Changeset

4405:76d045f76f65

mod_groups_internal: Fix incorrect function name
author Matthew Wild <mwild1@gmail.com>
date Wed, 27 Jan 2021 14:55:55 +0000
parents 4404:a5a0b51d26e9
children 4406:d86592775a20
files mod_groups_internal/mod_groups_internal.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_groups_internal/mod_groups_internal.lua	Wed Jan 27 14:55:22 2021 +0000
+++ b/mod_groups_internal/mod_groups_internal.lua	Wed Jan 27 14:55:55 2021 +0000
@@ -100,7 +100,7 @@
 		muc_jid = jid.prep(id.short() .. "@" .. muc_host_name);
 		room = muc_host.create_room(muc_jid)
 		if not room then
-			delete_group(group_id)
+			delete(group_id)
 			return nil, "internal-server-error"
 		end
 		room:set_public(false)