3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-19 10:29:30 +01:00

Removing useless "You may speak again." privmsg on unquiet timeout

This commit is contained in:
Pragmatic Software 2010-05-30 02:08:21 +00:00
parent 7399f4ff91
commit a58700ce51

View File

@ -117,7 +117,6 @@ sub check_quieted_timeouts {
$self->{pbot}->logger->log("Unquieting $mask\n"); $self->{pbot}->logger->log("Unquieting $mask\n");
$self->unquiet_mask($mask, $self->{quieted_masks}->{$mask}{channel}); $self->unquiet_mask($mask, $self->{quieted_masks}->{$mask}{channel});
delete $self->{quieted_masks}->{$mask}; delete $self->{quieted_masks}->{$mask};
$self->{pbot}->conn->privmsg($mask, "You may speak again.");
} else { } else {
#my $timediff = $quieted_masks{$mask}{time} - $now; #my $timediff = $quieted_masks{$mask}{time} - $now;
#$logger->log "quiet: $mask has $timediff seconds remaining\n" #$logger->log "quiet: $mask has $timediff seconds remaining\n"