diff --git a/CHANGELOG.md b/CHANGELOG.md index cfbc6e8..caf9d70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ Procedure when bumping the version number: ### Changed - Instances log to target `euphoxide::live::` +- Instances stay connected if auth is required but no password is set ### Fixed - `!uptime` minute count diff --git a/src/bot/instance.rs b/src/bot/instance.rs index 52d5d02..04ce031 100644 --- a/src/bot/instance.rs +++ b/src/bot/instance.rs @@ -498,7 +498,6 @@ impl Instance { conn.tx().send_only(cmd); } else { iwarn!(config, "Auth required but no password configured"); - break; } } Ok(Data::DisconnectEvent(ev)) => { @@ -513,8 +512,6 @@ impl Instance { on_event(Event::Packet(config.clone(), packet, snapshot)); } - - Ok(()) } async fn handle_requests(