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

Swap the mode and mask params to Entry and make the mode optional.

This commit is contained in:
Sadie Powell
2026-01-26 18:57:29 +00:00
parent a0676ef8b1
commit 48bb6089fa
9 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -673,7 +673,7 @@ void ModeManager::StackerDel(Mode *m)
}
}
Entry::Entry(const Anope::string &n, const Anope::string &m, bool r)
Entry::Entry(const Anope::string &m, const Anope::string &n, bool r)
: name(n)
, mask(m)
{
+1 -1
View File
@@ -389,7 +389,7 @@ Anope::string IRCDProto::NormalizeMask(const Anope::string &mask)
{
if (IsExtbanValid(mask))
return mask;
return Entry("", mask).GetCleanMask();
return Entry(mask).GetCleanMask();
}
void IRCDProto::SendContextNotice(BotInfo *bi, User *target, Channel *context, const Anope::string &msg, const Anope::map<Anope::string> &tags)