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:
+1
-1
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user