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

Ip string field, array in yml #4

Closed
gonzalovilaseca opened this issue Jun 26, 2014 · 1 comment
Closed

Ip string field, array in yml #4

gonzalovilaseca opened this issue Jun 26, 2014 · 1 comment

Comments

@gonzalovilaseca
Copy link

Ip is defined as a string, but in extended_bot.yml for example, it's defined as an array:

    Yigg:
        agent: ''
        ip: [188.138.56.55, 188.138.48.253]
        type: bot

So when matching return $this->ip === $ip; even if the ip is in the array, it won't match.

@lennerd
Copy link
Owner

lennerd commented Jul 1, 2014

Good catch. Will be very busy the next weeks. PRs are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants