mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Do not call the same function twice
This commit is contained in:
parent
756adaba55
commit
61a58f6e67
@ -514,7 +514,6 @@ route_to_room(Packet, ServerHost) ->
|
||||
Err = xmpp:err_item_not_found(ErrText, Lang),
|
||||
ejabberd_router:route_error(Packet, Err);
|
||||
StartType ->
|
||||
RMod = gen_mod:ram_db_mod(ServerHost, ?MODULE),
|
||||
case load_room(RMod, Host, ServerHost, Room) of
|
||||
error when StartType == start ->
|
||||
case check_create_room(ServerHost, Host, Room, From) of
|
||||
|
Loading…
Reference in New Issue
Block a user