diff options
Diffstat (limited to 'lib/ASM/Util.pm')
| -rw-r--r-- | lib/ASM/Util.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ASM/Util.pm b/lib/ASM/Util.pm index 8e3fe8c..0984a28 100644 --- a/lib/ASM/Util.pm +++ b/lib/ASM/Util.pm @@ -134,6 +134,8 @@ sub mayAlert { sub isFloodedPhraseOK { my ($module, $chan, $text) = @_; + $chan = lc $chan; + return undef unless exists $::channels->{channel}{$chan}{floodedphraseok}; my $exempt_regex = $::channels->{channel}{$chan}{floodedphraseok}; |
