From 71eb4e2f8999e37283dcc3faae69c4a186b3d17a Mon Sep 17 00:00:00 2001 From: "psychoticwolf%carolina.rr.com" Date: Thu, 10 Jun 2010 20:35:46 +0000 Subject: [PATCH] Bug 557012 - [Crashstats] Mozbot should accept both http:// and https:// links. Patch by Tanner M. Young , r=Wolf git-svn-id: svn://10.0.0.236/trunk@260455 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/mozbot/BotModules/Crashstats.bm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/mozbot/BotModules/Crashstats.bm b/mozilla/webtools/mozbot/BotModules/Crashstats.bm index 588fefa40d3..ad47e2ea7a4 100755 --- a/mozilla/webtools/mozbot/BotModules/Crashstats.bm +++ b/mozilla/webtools/mozbot/BotModules/Crashstats.bm @@ -16,7 +16,7 @@ sub Told { my $self = shift; my ($event, $message) = @_; my @array = (); my $output = ''; - push @array, $1 while ($message =~ /(? -1) { $output .= 'http://crash-stats.mozilla.com/report/index/'.$_.' ' foreach (@array); $self->say($event, $event->{'from'}.': '.$output); @@ -30,7 +30,7 @@ sub Heard { my $self = shift; my ($event, $message) = @_; my @array = (); my $output = ''; - push @array, $1 while ($message =~ /(? -1) { $output .= 'http://crash-stats.mozilla.com/report/index/'.$_.' ' foreach (@array); $self->say($event, $event->{'from'}.': '.$output);