mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Update BukkitTelnetBridge.java
This commit is contained in:
parent
8ac5bc827a
commit
11984bc46f
@ -148,10 +148,8 @@ public class BukkitTelnetBridge extends FreedomService
|
||||
final BukkitTelnet telnet = getBukkitTelnetPlugin();
|
||||
if (telnet != null)
|
||||
{
|
||||
final Iterator<ClientSession> it = telnet.appender.getSessions().iterator();
|
||||
while (it.hasNext())
|
||||
for (ClientSession session : telnet.appender.getSessions())
|
||||
{
|
||||
final ClientSession session = it.next();
|
||||
if (name != null && name.equalsIgnoreCase(session.getUserName()))
|
||||
{
|
||||
sessionsToRemove.add(session);
|
||||
|
Loading…
Reference in New Issue
Block a user