X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2FProcess.pl;h=36cffd423054a12cfaebfdb9fb5a5c2d1da70a76;hb=6347aa7bd7d649273a92c66190507cc7b41a6278;hp=914f4812a3ed068167c03eb76aaed3f7981571c9;hpb=42f98ea1568081553deb41bf7e4c6a51d320f3c2;p=infobot.git diff --git a/src/Process.pl b/src/Process.pl index 914f481..36cffd4 100644 --- a/src/Process.pl +++ b/src/Process.pl @@ -349,7 +349,7 @@ sub process { } } - if (&IsParam("factoids") and $param{'DBType'} =~ /^(mysql|sqlite|pgsql)/i) { + if (&IsParam("factoids") and $param{'DBType'} =~ /^(mysql|sqlite(2)?|pgsql)$/i) { &FactoidStuff(); } elsif ($param{'DBType'} =~ /^none$/i) { return "NO FACTOIDS.";