diff options
| author | ilotterytea <iltsu@alright.party> | 2025-04-08 01:06:11 +0400 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-04-08 01:06:11 +0400 |
| commit | fbf41a4c737174442717ade79e895321ee8ada36 (patch) | |
| tree | 43433eb33da9574d808c3a429cc45e5a73e57597 /bot/src/handlers.cpp | |
| parent | f67badeab7089e85e53b20d6e20d41f641385aa8 (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.cpp | 3 |
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)) { |
