diff options
author | Ashelyn Rose <git@ashen.earth> | 2024-10-05 02:20:59 -0600 |
---|---|---|
committer | Ashelyn Rose <git@ashen.earth> | 2024-10-05 02:20:59 -0600 |
commit | 8d564bb8a17b5b0251805baf20c6741d4d20e501 (patch) | |
tree | 74cd7aad01b26548a3b1e3601cd267282c629ffd /src/system/bot | |
parent | 0053ccbb31c3b87285bf38ee3eda3308c67ad707 (diff) |
Allow individual client to disconnect and reconnect
Diffstat (limited to 'src/system/bot')
-rw-r--r-- | src/system/bot/gateway.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system/bot/gateway.rs b/src/system/bot/gateway.rs index 4a83086..5a45083 100644 --- a/src/system/bot/gateway.rs +++ b/src/system/bot/gateway.rs @@ -76,7 +76,7 @@ impl Gateway { if source.is_fatal() { system_channel.send(SystemEvent::GatewayClosed(bot_conf.member_id)).await; - break; + return; } } Ok(event) => match event { |