mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-23 11:12:42 +01:00
Don't infinitely try to /msg ChanServ to remove ops
This commit is contained in:
parent
811e2e71d2
commit
50818a4b90
@ -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 {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user