mirror of
https://github.com/anope/anope.git
synced 2026-07-10 13:03:12 +02:00
Swap the mode and mask params to Entry and make the mode optional.
This commit is contained in:
@@ -796,7 +796,7 @@ public:
|
||||
kick = chan != NULL && chan->FindUser(u);
|
||||
}
|
||||
else
|
||||
kick = Entry("BAN", autokick->mask).Matches(u);
|
||||
kick = Entry(autokick->mask, "BAN").Matches(u);
|
||||
|
||||
if (kick)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user