summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/BugModal/lib/MonkeyPatches.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/BugModal/lib/MonkeyPatches.pm b/extensions/BugModal/lib/MonkeyPatches.pm
index f0774b0e5..61f945a87 100644
--- a/extensions/BugModal/lib/MonkeyPatches.pm
+++ b/extensions/BugModal/lib/MonkeyPatches.pm
@@ -43,7 +43,7 @@ use warnings;
sub moz_nick {
my ($self) = @_;
if (!exists $self->{moz_nick}) {
- if ($self->name =~ /:?:(.+?)\b/) {
+ if ($self->name =~ /:?:(\S+?)\b/) {
$self->{moz_nick} = $1;
}
elsif ($self->name) {