Skip to content

Commit

Permalink
fix reference errors
Browse files Browse the repository at this point in the history
  • Loading branch information
braindigitalis committed Dec 18, 2024
1 parent 5a7133c commit 528e5cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dpp/cluster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ void cluster::start(start_type return_after) {
}

if (return_after == st_return) {
engine_thread = std::thread([event_loop]() {
engine_thread = std::thread([this, event_loop]() {
try {
dpp::utility::set_thread_name("event_loop");
event_loop();
Expand Down
2 changes: 1 addition & 1 deletion src/dpp/voice/enabled/courier_loop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ void discord_voice_client::voice_courier_loop(discord_voice_client& client, cour
}
}
catch (const std::exception& e) {
log(ll_critical, "Voice courier unhandled exception: " + std::string(e.what()));
client.creator->log(ll_critical, "Voice courier unhandled exception: " + std::string(e.what()));
}
}

Expand Down

0 comments on commit 528e5cd

Please sign in to comment.