summaryrefslogtreecommitdiff
path: root/bot/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bot/src/main.cpp')
-rw-r--r--bot/src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/src/main.cpp b/bot/src/main.cpp
index 212d190..360e243 100644
--- a/bot/src/main.cpp
+++ b/bot/src/main.cpp
@@ -112,7 +112,8 @@ int main(int argc, char *argv[]) {
client.on<bot::irc::MessageType::Privmsg>(
[&client, &command_loader, &localization, &cfg, &helix_client](
const bot::irc::Message<bot::irc::MessageType::Privmsg> &message) {
- bot::InstanceBundle bundle{client, helix_client, localization, cfg};
+ bot::InstanceBundle bundle{client, helix_client, localization, cfg,
+ command_loader};
pqxx::connection conn(GET_DATABASE_CONNECTION_URL(cfg));