summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/event.pl2
-rw-r--r--modules/inspect.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/event.pl b/modules/event.pl
index b1876cd..79441f5 100644
--- a/modules/event.pl
+++ b/modules/event.pl
@@ -815,7 +815,7 @@ sub on_whoxover
{
my ($conn, $event) = @_;
my $chan = pop @::syncqueue;
- $::synced{$event->{args}->[1]} = 1;
+ $::synced{lc $event->{args}->[1]} = 1;
if (defined($chan) ){
$conn->sl('who ' . $chan . ' %tcnuhra,314');
$conn->sl('mode ' . $chan);
diff --git a/modules/inspect.pl b/modules/inspect.pl
index 57fc722..10ff01d 100644
--- a/modules/inspect.pl
+++ b/modules/inspect.pl
@@ -43,7 +43,7 @@ sub inspect {
foreach $chan ( @{$event->{to}} ) {
# don't do anything for channels we haven't synced yet
# because we can't yet respect stuff like notrigger for these
- next unless $::synced{$chan};
+ next unless $::synced{lc $chan};
next unless $chan =~ /^#/;
next if ((defined($::channels->{channel}->{$chan}->{monitor})) and ($::channels->{channel}->{$chan}->{monitor} eq "no"));
foreach $id (keys %aonx) {