1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 08:26:38 +02:00

Fix the location of &* on types.

This commit is contained in:
Sadie Powell
2026-03-26 16:01:05 +00:00
parent 5355b53008
commit eaa24d3b0a
14 changed files with 18 additions and 19 deletions
+1 -1
View File
@@ -232,7 +232,7 @@ void Command::OnSyntaxError(CommandSource &source, const Anope::string &subcomma
namespace
{
void HandleUnknownCommand(CommandSource& source, const Anope::string &message)
void HandleUnknownCommand(CommandSource &source, const Anope::string &message)
{
// Try to find a similar command.
auto distance = Config->GetBlock("options").Get<size_t>("didyoumeandifference", "4");
+2 -2
View File
@@ -272,7 +272,7 @@ void InfoFormatter::SendTo(CommandSource &source)
std::sort(this->options.begin(), this->options.end());
auto &optstr = (*this)[_("Options")];
for (const auto& option : this->options)
for (const auto &option : this->options)
{
if (!optstr.empty())
optstr += ", ";
@@ -436,7 +436,7 @@ bool LineWrapper::GetLine(Anope::string &out)
auto toggle_formatting = [this, &uncertain_formatting](const Anope::string &fmt)
{
auto it = std::find_if(formatting.begin(), formatting.end(), [&fmt](const auto& f) {
auto it = std::find_if(formatting.begin(), formatting.end(), [&fmt](const auto &f) {
return f[0] == fmt[0];
});
if (it == formatting.end())