25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Rename remove_room hook back

This commit is contained in:
Evgeniy Khramtsov 2017-08-10 14:49:05 +03:00
parent 7d626b4f5c
commit a96d72330d

View File

@ -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).