Irc mask matching