Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
gallant | f0ee4d6a5e |
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue