X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=src%2FFactoids%2FQuestion.pl;fp=src%2FFactoids%2FQuestion.pl;h=c0cd087392b0947f9260770f3ccf3e814c5c2704;hb=887c0adfbf7c5b598c4e9ce43c235f580e2c5878;hp=e4e35c11e91bccd0990123ada88cffa21ef616b9;hpb=fd224474120843511dbc1b35b752932ba03cd6be;p=infobot.git diff --git a/src/Factoids/Question.pl b/src/Factoids/Question.pl index e4e35c1..c0cd087 100644 --- a/src/Factoids/Question.pl +++ b/src/Factoids/Question.pl @@ -223,7 +223,7 @@ sub factoidArgs { # it does not matter if it's not alphabetically sorted. foreach ( (sort { length($b) <=> length($a) } grep {$_ =~ /^\Q$chan \E/} @list), - (sort { length($b) <=> length($a) } grep {$_ =~ /^\Q_default \E/} @list) + (sort { length($b) <=> length($a) } grep {$_ =~ /^\Q_default \E/} @list), (sort { length($b) <=> length($a) } grep {$_ !~ /^(\Q$chan\E|default) /} @list) ) { next if (/#DEL#/); # deleted.