From 47605fd33ec58b962b3ba944a500dd5b5f9ef702 Mon Sep 17 00:00:00 2001 From: Elijah Perrault Date: Tue, 22 Feb 2011 11:10:11 -0700 Subject: [PATCH] Remove any leading colons. --- lib/Parser/IRC.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Parser/IRC.pm b/lib/Parser/IRC.pm index f0fc6ec..b847847 100644 --- a/lib/Parser/IRC.pm +++ b/lib/Parser/IRC.pm @@ -371,6 +371,7 @@ sub mode # Set data we'll need later. my $chan = $ex[2]; my $modes = $ex[3]; + $modes =~ s/^://xsm; # Get rid of the useless data, so the mode parser will work smoothly. shift @ex; shift @ex; shift @ex; shift @ex;