Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update user exempt flag on WEBIRC #990

Closed
wants to merge 1 commit into from
Closed

Conversation

B00mX0r
Copy link
Contributor

@B00mX0r B00mX0r commented Feb 8, 2015

Solves #989

Simple example: If Mibbit's IP is E-lined, and a user connects through Mibbit (so using WEBIRC), it won't check for bans on the user.

@@ -317,6 +319,7 @@ class ModuleCgiIRC : public Module
if(InspIRCd::Match(user->host, iter->hostmask, ascii_case_insensitive_map) || InspIRCd::MatchCIDR(user->GetIPString(), iter->hostmask, ascii_case_insensitive_map))
{
// Deal with it...
user->exempt = (ServerInstance->XLines->MatchesLine("E",user) != NULL);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is in the wrong place, at the time this runs the user IP etc. hasn't been changed yet

@attilamolnar
Copy link
Member

Not merging as we've decided to fix the regression this has attempted to fix by reverting the commit after 2.0.18 which caused the regression.

@B00mX0r B00mX0r deleted the insp20 branch September 26, 2016 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants