Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslan-ilesik committed Oct 8, 2024
1 parent 2d1f71b commit 90fb093
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dpp/cluster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ cluster::cluster(const std::string &_token, uint32_t _intents, uint32_t _shards,
std::shared_lock lk(named_commands_mutex);
auto it = named_commands.find(event.command.get_command_name());
if (it == named_commands.end()) {
co_return; // Command not found
co_return;
}
copy = it->second;
}
Expand All @@ -147,7 +147,7 @@ cluster::cluster(const std::string &_token, uint32_t _intents, uint32_t _shards,
std::shared_lock lk(named_commands_mutex);
auto it = named_commands.find(event.command.get_command_name());
if (it == named_commands.end()) {
return; // Command not found
return;
}
copy = it->second;
}
Expand Down

0 comments on commit 90fb093

Please sign in to comment.