From 84c89564a0ff53960e4c628fdc3908d86a6cec31 Mon Sep 17 00:00:00 2001 From: raxracks Date: Thu, 29 Feb 2024 13:23:49 +0000 Subject: [PATCH] get rid of pointless logging --- src/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 41d3e35..2af1116 100644 --- a/src/main.c +++ b/src/main.c @@ -11,8 +11,7 @@ void on_ready(struct discord *client, const struct discord_ready *msg) { } void on_message(struct discord *client, const struct discord_message *msg) { - log_info("%s", msg->content); - if(msg->type == DISCORD_MESSAGE_REPLY && msg->content != NULL) { + if(msg->type == DISCORD_MESSAGE_REPLY && msg->content != NULL) { char buf[1024]; sprintf(buf, "INSERT INTO messages(message, reply)" "VALUES('%s', '%s')",