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

Fix some uses of Entry that didn't have their arguments swapped.

This commit is contained in:
Sadie Powell
2026-01-30 11:09:28 +01:00
parent 5a4781161a
commit 84b94bdbf1
7 changed files with 10 additions and 16 deletions
+2 -2
View File
@@ -70,7 +70,7 @@ public:
// We have to check for bans.
for (const auto &entry : c->GetModeList("BAN"))
{
Entry ban("BAN", entry);
Entry ban(entry, "BAN");
if (ban.Matches(user))
c->RemoveMode(NULL, "BAN", ban.GetMask());
}
@@ -205,7 +205,7 @@ public:
{
BotInfo *bi = c->ci->bi;
Entry ban("BAN", data.value);
Entry ban(data.value, "BAN");
if (ban.Matches(bi))
c->RemoveMode(bi, "BAN", data.value);
}