Compare commits

...

1 commit

Author SHA1 Message Date
gallant f0ee4d6a5e conditional 2023-01-31 12:19:15 -06:00

View file

@ -201,7 +201,10 @@ pub async fn irc_loop(
users.swap_remove(pos);
let reason = reason.as_deref().unwrap_or("Connection closed");
if reason == "Ping timeout: 2m30s"
{
break;
}
send.send(QueuedMessage::Raw {
channel_id,
http: http.clone(),