&chanServCheck($chan);
+ # FIXME: scheduler is b0rken! flood join for now
# schedule used to solve ircu (OPN) 'target too fast' problems.
- $conn->schedule( 5, sub { &joinNextChan(); } );
+ #$conn->schedule( 5, sub { &joinNextChan(); } );
+ &joinNextChan();
}
sub on_init {
my ($event) = @_;
my @args = $event->args;
- &status(">>> chanfull/$b_blue$args[1]$ob");
-
+ &status(">>> chanfull/$b_blue$args[1]$ob, removing autojoin");
+ delete $chanconf{$chan}{autojoin};
&joinNextChan();
}
$conn = shift(@_);
my ($event) = @_;
my @args = $event->args;
+ my $chan = $args[1];
- &status(">>> inviteonly/$b_cyan$args[1]$ob");
-
+ &status(">>> inviteonly/$b_cyan$chan$ob, removing autojoin");
+ delete $chanconf{$chan}{autojoin};
&joinNextChan();
}