232,233c232,234
<     db_query("INSERT INTO {bot_factoid} SET subject = '%s', is_are = '%s', statement = '%s'", $subject, $is_are, $statement);
<     return 1; // if we set something, send back a happy.
---
>     if (db_query("INSERT INTO {bot_factoid} (subject, is_are, statement) VALUES ('%s','%s', '%s')", $subject, $is_are, $statement)) {
>         return 1; // if we set something, send back a happy.
>     }
