only log in with ice users that have the authorized user set
This commit is contained in:
1 parent
26b5fe5699
commit
2aacd141ad
1 file changed
+2
@@ -195,6 +195,8 @@ void ICEExecutionGateway::on_trader_login_timeout_expired()
|
||||
const auto& ice = u.user_data().exchange_user_data().ice_data();
|
||||
if(auth_traders.find(ice.authorized_trader()) == auth_traders.end())
|
||||
{
|
||||
if(ice.authorized_trader() == "")
|
||||
continue;
|
||||
if(me->nusers == -1)
|
||||
me->nusers = 0;
|
||||
me->nusers++;
|
||||
|
||||
Reference in new issue
Block a user