Diff

mod_groups_internal/mod_groups_internal.lua @ 4405:76d045f76f65

mod_groups_internal: Fix incorrect function name
author Matthew Wild <mwild1@gmail.com>
date Wed, 27 Jan 2021 14:55:55 +0000
parent 4404:a5a0b51d26e9
child 4406:d86592775a20
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)