From fdfc249ba88138bb4ae9f417315500e0d6903830 Mon Sep 17 00:00:00 2001 From: Elijah Perrault Date: Thu, 21 Apr 2011 20:39:21 -0600 Subject: [PATCH] Updated. --- lib/API/IRC.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/API/IRC.pm b/lib/API/IRC.pm index 00e28e1..879cffd 100644 --- a/lib/API/IRC.pm +++ b/lib/API/IRC.pm @@ -133,6 +133,7 @@ sub act { # Check if a given nickname is on a channel. sub ison { my ($svr, $chan, $nick) = @_; + $chan = lc $chan; if (!exists $State::IRC::chanusers{$svr}) { return } if (!exists $State::IRC::chanusers{$svr}{$chan}) { return }