mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +01:00
Rename remove_room hook back
This commit is contained in:
parent
7d626b4f5c
commit
a96d72330d
@ -167,7 +167,7 @@ restore_room(ServerHost, Host, Name) ->
|
||||
|
||||
forget_room(ServerHost, Host, Name) ->
|
||||
LServer = jid:nameprep(ServerHost),
|
||||
ejabberd_hooks:run(destroy_room, LServer, [LServer, Name, Host]),
|
||||
ejabberd_hooks:run(remove_room, LServer, [LServer, Name, Host]),
|
||||
Mod = gen_mod:db_mod(LServer, ?MODULE),
|
||||
Mod:forget_room(LServer, Host, Name).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user