From 0a4ef4eb40212d8110f97fc3464fd34c31008b75 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sat, 30 May 2020 01:28:59 -0700 Subject: [PATCH] Factoids: change sort+/sort- to +sort/-sort in $var modifier --- PBot/Factoids.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PBot/Factoids.pm b/PBot/Factoids.pm index f84685d1..014ed5cd 100644 --- a/PBot/Factoids.pm +++ b/PBot/Factoids.pm @@ -533,12 +533,12 @@ sub expand_factoid_vars { next; } - if ($mod =~ /^sort\+?$/) { + if ($mod =~ /^\+?sort$/) { $settings{'sort+'} = 1; next; } - if ($mod =~ /^sort\-$/) { + if ($mod =~ /^\-sort$/) { $settings{'sort-'} = 1; next; }