Skip to content
This repository has been archived by the owner on Jun 6, 2021. It is now read-only.

Commit

Permalink
fix a couple of casemapping errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mquin committed Nov 30, 2018
1 parent 21cd057 commit cbc924e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/bantracker.pl
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,7 @@ sub btsync {
our %heap;
my $channels=$bot->Channels();
for my $channel (keys %$channels) {
$channel=irclc($channel);
next unless $heap{'settings'}{$channel}{'enabled'};
undef %{$heap{$channel}};
if ($heap{'settings'}{$channel}{'frequency'}) {
Expand Down Expand Up @@ -550,6 +551,7 @@ sub nag_expired {
my $channels=$bot->Channels();
my $target;
for my $channel (keys %$channels) {
$channel=irclc($channel);
my $chanserv=0;
my @modes;
next unless ($heap{'settings'}{$channel}{'enabled'} && $heap{'settings'}{$channel}{'frequency'});
Expand Down

0 comments on commit cbc924e

Please sign in to comment.