mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-02 19:13:13 +02:00
f71f6c8fe3
- If you have only negating entries, like '!abc' and '!def', then we assume an implicit * rule first, since that is clearly what the user wants. - If you have a mix, like '*.com', '!irc1*', '!irc2*', then the implicit * is dropped and we assume you only want to match *.com, with the exception of irc1*.com and irc2*.com. - If you only have normal entries without ! then things are as they always are. This patch also makes the behavior for unreal_mask_match() and unreal_mask_match_string() the same.