mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 13:59:47 +01:00
Treat ping timeouts aggressively again
This commit is contained in:
parent
6e0456940b
commit
e5f5aa2c15
@ -274,7 +274,7 @@ sub update_join_watch {
|
||||
}
|
||||
}
|
||||
# check QUIT message for Ping timeout or Excess Flood
|
||||
elsif($text =~ /^QUIT Excess Flood/ or $text =~ /^QUIT Max SendQ exceeded/) {
|
||||
elsif($text =~ /^QUIT Excess Flood/ or $text =~ /^QUIT Max SendQ exceeded/ or $text =~ /^QUIT Ping timeout/) {
|
||||
# treat these as an extra join so they're snagged more quickly since these usually will keep flooding
|
||||
$channel_data->{join_watch}++;
|
||||
$self->{pbot}->{messagehistory}->{database}->update_channel_data($account, $channel, $channel_data);
|
||||
|
Loading…
Reference in New Issue
Block a user