3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-01 17:16:39 +02:00

Don't infinitely try to /msg ChanServ to remove ops

This commit is contained in:
Pragmatic Software 2010-06-14 20:31:14 +00:00
parent 811e2e71d2
commit 50818a4b90
2 changed files with 2 additions and 5 deletions

View File

@ -62,9 +62,6 @@ sub lose_ops {
my $self = shift;
my $channel = shift;
$self->{pbot}->conn->privmsg("chanserv", "op $channel -" . $self->{pbot}->botnick);
if(exists ${ $self->{is_opped} }{$channel}) {
${ $self->{is_opped} }{$channel}{timeout} = gettimeofday + 60; # try again in 1 minute if failed
}
}
sub perform_op_commands {

View File

@ -13,8 +13,8 @@ use warnings;
# These are set automatically by the build/commit script
use constant {
BUILD_NAME => "PBot",
BUILD_REVISION => 164,
BUILD_DATE => "2010-06-12",
BUILD_REVISION => 165,
BUILD_DATE => "2010-06-14",
};
1;