From 117ef08c2335cd4eca85838937818226609dd172 Mon Sep 17 00:00:00 2001 From: Elijah Perrault Date: Mon, 28 Feb 2011 20:26:46 -0700 Subject: [PATCH] Forgot to commit this... --- lib/Proto/IRC.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Proto/IRC.pm b/lib/Proto/IRC.pm index efa6214..386a49d 100644 --- a/lib/Proto/IRC.pm +++ b/lib/Proto/IRC.pm @@ -144,7 +144,8 @@ sub num352 { my ($svr, @ex) = @_; # Trigger on_whoreply. - API::Std::event_run('on_whoreply', ($svr, $ex[2], $ex[3], $ex[4], $ex[5], $ex[6], @ex[7..$#ex])); + $ex[9] =~ s/^://xsm; + API::Std::event_run('on_whoreply', ($svr, $ex[7], $ex[3], $ex[4], $ex[5], $ex[6], $ex[8], $ex[9], @ex[10..$#ex])); return 1; }