1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 11:16:38 +02:00

Improve the ban mask parsing in Entry.

This commit is contained in:
Sadie Powell
2026-01-20 12:31:05 +00:00
parent 172f443421
commit 6e18030285
8 changed files with 75 additions and 58 deletions
+1 -1
View File
@@ -389,7 +389,7 @@ Anope::string IRCDProto::NormalizeMask(const Anope::string &mask)
{
if (IsExtbanValid(mask))
return mask;
return Entry("", mask).GetNUHMask();
return Entry("", mask).GetCleanMask();
}
void IRCDProto::SendContextNotice(BotInfo *bi, User *target, Channel *context, const Anope::string &msg, const Anope::map<Anope::string> &tags)