summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-08-23 10:44:43 +0200
committerYorhel <git@yorhel.nl>2009-08-23 10:44:43 +0200
commitcdcd732dc28b0ac3d337e6dfac773f12a432e782 (patch)
treef7a6d92108ba9ba6bdca99284fc1912a84cdd7f8
parent0a803dfa255cdcd62e6801a285b41717a28e6f51 (diff)
Multi::IRC: lowercase channel names in idlequotes
-rw-r--r--lib/Multi/IRC.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Multi/IRC.pm b/lib/Multi/IRC.pm
index b84c3d4a..5018d2aa 100644
--- a/lib/Multi/IRC.pm
+++ b/lib/Multi/IRC.pm
@@ -190,7 +190,7 @@ sub irc_001 {
sub irc_public { # mask, dest, msg
- $_[HEAP]{idlequotes}{$_[ARG1][0]} = 0;
+ $_[HEAP]{idlequotes}{ lc($_[ARG1][0]) } = 0;
return if $_[KERNEL]->call($_[SESSION] => command => @_[ARG0..$#_]);
$_[KERNEL]->call($_[SESSION] => vndbid => $_[ARG1], $_[ARG2]);
}