fix stupid spaces
This commit is contained in:
parent
6a70d74ff3
commit
ae59db9673
|
@ -14,10 +14,10 @@ void on_message(struct discord *client, const struct discord_message *msg) {
|
|||
if(msg->type == DISCORD_MESSAGE_REPLY && msg->content != NULL) {
|
||||
char* error;
|
||||
if(sqlite3_exec(db, sqlite3_mprintf(
|
||||
"INSERT INTO messages(message, reply)"
|
||||
"INSERT INTO messages(message, reply)"
|
||||
"VALUES('%q', '%q')",
|
||||
msg->referenced_message->content, msg->content),
|
||||
NULL, NULL, &error)) {
|
||||
NULL, NULL, &error)) {
|
||||
log_error(error);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue