1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 07:13:13 +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 -2
View File
@@ -397,11 +397,10 @@ public:
return EVENT_CONTINUE;
}
void OnUplinkSync(Server* s) override
void OnUplinkSync(Server *s) override
{
// We need to do this when the uplink is synced as we may not know if
// the mode exists before then on some IRCds (e.g. InspIRCd).
if (!persist)
return;
+1 -1
View File
@@ -440,7 +440,7 @@ private:
ListFormatter &list;
ChannelInfo *ci;
bool show_all;
unsigned& foreign;
unsigned &foreign;
public:
AccessListCallback(ListFormatter &_list, ChannelInfo *_ci, const Anope::string &numlist, bool _show_all, unsigned &_foreign)
+1 -1
View File
@@ -253,7 +253,7 @@ private:
}
}
void ApplyFlags(Extensible *ext, Anope::string &flags, char flag, const char* extname, bool extend = true)
void ApplyFlags(Extensible *ext, Anope::string &flags, char flag, const char *extname, bool extend = true)
{
auto pos = flags.find(flag);
auto has_flag = (pos != Anope::string::npos);
+1 -1
View File
@@ -230,7 +230,7 @@ public:
throw ModuleException("A compiler with C++20 support is required by this module");
#else
// Build the zone list.
const auto& tzdb = std::chrono::get_tzdb();
const auto &tzdb = std::chrono::get_tzdb();
for (const auto &tz : tzdb.zones)
timezones.emplace_back(tz.name());
for (const auto &tz : tzdb.links)
+1 -1
View File
@@ -57,7 +57,7 @@ class CommandOSStats final
private:
ServiceReference<XLineManager> akills, snlines, sqlines;
static void ReportXLineStats(CommandSource& source, XLineManager* xlm, const char* type, const char* config)
static void ReportXLineStats(CommandSource &source, XLineManager *xlm, const char *type, const char *config)
{
source.Reply(_("Current number of %ss: \002%zu\002"), type, xlm->GetCount());
+1 -1
View File
@@ -496,7 +496,7 @@ namespace UnrealExtBan
Anope::string xbname;
public:
Base(const Anope::string &mname, const Anope::string& uname, char uchar)
Base(const Anope::string &mname, const Anope::string &uname, char uchar)
: ChannelModeVirtual<ChannelModeList>(mname, "BAN")
, xbchar(uchar)
, xbname(uname)