From b487ed280f7f4c7cf9cbdb8591232f184c209d5b Mon Sep 17 00:00:00 2001 From: Elijah Perrault Date: Tue, 8 Feb 2011 21:37:41 -0700 Subject: [PATCH] Oops, *NOW* it works. --- src/Parser/IRC.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Parser/IRC.pm b/src/Parser/IRC.pm index afd59af..2fdaa80 100644 --- a/src/Parser/IRC.pm +++ b/src/Parser/IRC.pm @@ -424,7 +424,7 @@ sub mode # It's a mode, lets check if it's a status mode. my $nnt = 0; foreach (keys %{ $csprefix{$svr} }) { - if ($modes =~ /($_)/) { + if ($maf eq $_) { $nnt = 1; last; }