git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11355
e03df62e-2008-0410-955e-
edbf42e46eb7
bool Matches(User *u)
{
+ if (u->exempt)
+ return false;
+
std::string compare = u->nick + "!" + u->ident + "@" + u->host + " " + u->fullname;
return regex->Matches(compare);
}
bool Matches(User *u)
{
+ // E: overrides shun
+ if (u->exempt)
+ return false;
+
if (InspIRCd::Match(u->GetFullHost(), matchtext) || InspIRCd::Match(u->GetFullRealHost(), matchtext) || InspIRCd::Match(u->nick+"!"+u->ident+"@"+u->GetIPString(), matchtext))
return true;