Stay connected on bounce if no password is set

This commit is contained in:
Joscha 2023-02-26 20:55:52 +01:00
parent f60420afa5
commit d303dfbd0d
2 changed files with 1 additions and 3 deletions

View file

@ -21,6 +21,7 @@ Procedure when bumping the version number:
### Changed ### Changed
- Instances log to target `euphoxide::live::<name>` - Instances log to target `euphoxide::live::<name>`
- Instances stay connected if auth is required but no password is set
### Fixed ### Fixed
- `!uptime` minute count - `!uptime` minute count

View file

@ -498,7 +498,6 @@ impl Instance {
conn.tx().send_only(cmd); conn.tx().send_only(cmd);
} else { } else {
iwarn!(config, "Auth required but no password configured"); iwarn!(config, "Auth required but no password configured");
break;
} }
} }
Ok(Data::DisconnectEvent(ev)) => { Ok(Data::DisconnectEvent(ev)) => {
@ -513,8 +512,6 @@ impl Instance {
on_event(Event::Packet(config.clone(), packet, snapshot)); on_event(Event::Packet(config.clone(), packet, snapshot));
} }
Ok(())
} }
async fn handle_requests( async fn handle_requests(