3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-22 20:09:43 +01:00

Factoids: change sort+/sort- to +sort/-sort in $var modifier

This commit is contained in:
Pragmatic Software 2020-05-30 01:28:59 -07:00
parent f5ca8324b5
commit 0a4ef4eb40

View File

@ -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;
}