mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Remove connection whitelisting on user connect. (#306)
This commit is contained in:
committed by
GitHub
parent
63f62228c2
commit
3988828ac7
@@ -20,7 +20,6 @@ namespace usr
|
||||
// Allow connection only if the maximum capacity is not reached. 0 means allowing unlimited connections.
|
||||
if ((conf::cfg.user.max_connections == 0) || (usr::ctx.users.size() < conf::cfg.user.max_connections))
|
||||
{
|
||||
corebill::add_to_whitelist(session.host_address);
|
||||
LOG_DEBUG << "User client connected " << session.display_name();
|
||||
|
||||
// As soon as a user connects, we issue them a challenge message. We remember the
|
||||
|
||||
Reference in New Issue
Block a user