mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 13:59:47 +01:00
Factoids: change sort+/sort- to +sort/-sort in $var modifier
This commit is contained in:
parent
f5ca8324b5
commit
0a4ef4eb40
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user