promote new channel / recycle channel msgs to INFO
This commit is contained in:
parent
704afb4409
commit
b113247f48
|
@ -457,7 +457,7 @@ let on_msg_join t name =
|
|||
DON'T try to make a new channel *)
|
||||
Error (nosuchchannel name)
|
||||
with Not_found ->
|
||||
debug (fun m -> m "making new channel %S" name);
|
||||
info (fun m -> m "making new channel %S" name);
|
||||
Ok (Chan.make name)
|
||||
in
|
||||
match Router.membership chan me with
|
||||
|
@ -495,7 +495,7 @@ let leave t mem ~from ~why =
|
|||
Router.part mem;
|
||||
if Chan.is_empty chan then
|
||||
begin
|
||||
debug (fun m -> m "recycling empty channel %S" (Chan.name chan));
|
||||
info (fun m -> m "recycling empty channel %S" (Chan.name chan));
|
||||
Chan.unregister chan ~router:t.router;
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue