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

fix uninitialized banmgr.config #294

Merged
merged 2 commits into from
Nov 29, 2021
Merged

Conversation

dkoukoul
Copy link

No description provided.

server.go Outdated
bmConfig := banmgr.Config{}
bmConfig := banmgr.Config{
DisableBanning: cfg.DisableBanning,
IpWhiteList: agentWhitelist,
Copy link
Member

Choose a reason for hiding this comment

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

Make this an empty list, because useragent whitelist is a different concept

@cjdelisle cjdelisle merged commit a94214a into pkt-cash:develop Nov 29, 2021
@cjdelisle
Copy link
Member

Thanks :D

@dkoukoul dkoukoul deleted the develop branch February 23, 2022 11:03
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

Successfully merging this pull request may close these issues.

2 participants