diff options
author | Alexey Shchepin <alexey@process-one.net> | 2004-10-08 20:40:29 +0000 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2004-10-08 20:40:29 +0000 |
commit | 134dec5dbb6de3e6d97a937266f37a30a5bfd343 (patch) | |
tree | fd4d18fc689d25d6664a750483ee7c964dea98f5 /src/mod_muc | |
parent | * doc/guide.tex: Updated (diff) |
* src/mod_muc/mod_muc_room.erl: Fixed room destroying
* src/ejabberd.cfg.example: Updated
* src/ejabberd_sm.erl: Fixed message routing when all resources
have negative priority
* src/msgs/*.msg: Updated (thanks to Sergei Golovan)
* src/web/ejabberd_web_admin.erl: Table titles now bold (thanks to
Sergei Golovan)
SVN Revision: 275
Diffstat (limited to 'src/mod_muc')
-rw-r--r-- | src/mod_muc/mod_muc_room.erl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mod_muc/mod_muc_room.erl b/src/mod_muc/mod_muc_room.erl index 17aaeaca..810f1d58 100644 --- a/src/mod_muc/mod_muc_room.erl +++ b/src/mod_muc/mod_muc_room.erl @@ -2126,6 +2126,12 @@ destroy_room(DEls, StateData) -> Info#user.jid, Packet) end, ?DICT:to_list(StateData#state.users)), + case (StateData#state.config)#config.persistent of + true -> + mod_muc:forget_room(StateData#state.room); + false -> + ok + end, {result, [], stop}. |