From fbf41a4c737174442717ade79e895321ee8ada36 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Tue, 8 Apr 2025 01:06:11 +0400 Subject: upd: add twitch lib on every command run (that's maybe bad for performance) --- bot/src/handlers.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bot/src/handlers.cpp') diff --git a/bot/src/handlers.cpp b/bot/src/handlers.cpp index 42e1090..f8b911d 100644 --- a/bot/src/handlers.cpp +++ b/bot/src/handlers.cpp @@ -26,8 +26,7 @@ namespace bot::handlers { void handle_private_message( - const InstanceBundle &bundle, - const command::CommandLoader &command_loader, + const InstanceBundle &bundle, command::CommandLoader &command_loader, const irc::Message &message, pqxx::connection &conn) { if (utils::string::string_contains_sql_injection(message.message)) { -- cgit v1.2.3