15.02.2015, 06:52
That function only holds the IP bans in memory, it isn't for storing bans. If you're using it locally, then 127.0.0.1 is likely whitelisted somewhere by default therefore not causing you to disconnect. Do keep in mind that params for that function are '(ip_address[], timems)' - the time is in milliseconds, and the function doesn't kick, it only blocks the IP and the client will only attempt a reconnect after a set time(probably 5-10 seconds) set in the client application.