From 7c218616bbd12b6aa266c95ef445fe59d820b360 Mon Sep 17 00:00:00 2001 From: ViVi Date: Sat, 1 Jun 2024 00:40:24 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=86=E3=81=A8=E3=83=81=E3=83=A3adv.=20?= =?UTF-8?q?=E3=81=AE=E3=83=A6=E3=83=8B=E3=83=83=E3=83=88=E3=82=B9=E3=83=86?= =?UTF-8?q?=E3=83=BC=E3=82=BF=E3=82=B9=E6=93=8D=E4=BD=9C=E3=82=B3=E3=83=9E?= =?UTF-8?q?=E3=83=B3=E3=83=89=E3=82=89=E3=81=97=E3=81=8D=E3=82=82=E3=81=AE?= =?UTF-8?q?=E3=81=AF=E3=82=B9=E3=83=AF=E3=83=83=E3=83=97=E3=81=97=E3=81=AA?= =?UTF-8?q?=E3=81=84=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _core/lib/palette.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_core/lib/palette.pl b/_core/lib/palette.pl index 3700463ee..a2d41adda 100644 --- a/_core/lib/palette.pl +++ b/_core/lib/palette.pl @@ -89,7 +89,7 @@ sub outputChatPalette { sub swapWordAndCommand { my @palette = split(/\n/, shift); foreach (@palette){ - if($_ =~ /^[0-9a-z:+\-\{]/i){ + if($_ =~ /^[0-9a-z:+\-\{]/i && $_ !~ /^[^\d].+?\@[^\d].+?[-+]/){ my ($command, $word) = split(/ /, $_, 2); if($command && $word){ $_ = "$word $command";