summaryrefslogtreecommitdiff
path: root/bot/src/handlers.cpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-04-08 01:06:11 +0400
committerilotterytea <iltsu@alright.party>2025-04-08 01:06:11 +0400
commitfbf41a4c737174442717ade79e895321ee8ada36 (patch)
tree43433eb33da9574d808c3a429cc45e5a73e57597 /bot/src/handlers.cpp
parentf67badeab7089e85e53b20d6e20d41f641385aa8 (diff)
upd: add twitch lib on every command run (that's maybe bad for performance)
Diffstat (limited to 'bot/src/handlers.cpp')
-rw-r--r--bot/src/handlers.cpp3
1 files changed, 1 insertions, 2 deletions
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<irc::MessageType::Privmsg> &message,
pqxx::connection &conn) {
if (utils::string::string_contains_sql_injection(message.message)) {