Filter duplicate Telnet admin names

This commit is contained in:
unknown 2013-12-18 18:44:21 +01:00
parent 3e71286507
commit 60f71c9dfc
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
#Wed Dec 18 14:44:11 CET 2013
build.number=695
#Wed Dec 18 18:43:50 CET 2013
build.number=696

View File

@ -97,8 +97,9 @@ public class TFM_SuperadminList
public static void updateIndexLists()
{
superadminNames.clear();
superadminIPs.clear();
telnetadminNames.clear();
senioradminNames.clear();
superadminIPs.clear();
Iterator<Entry<String, TFM_Superadmin>> it = superadminList.entrySet().iterator();
while (it.hasNext())
@ -135,8 +136,9 @@ public class TFM_SuperadminList
}
superadminNames = TFM_Util.removeDuplicates(superadminNames);
superadminIPs = TFM_Util.removeDuplicates(superadminIPs);
telnetadminNames = TFM_Util.removeDuplicates(telnetadminNames);
senioradminNames = TFM_Util.removeDuplicates(senioradminNames);
superadminIPs = TFM_Util.removeDuplicates(superadminIPs);
TFM_AdminWorld.getInstance().wipeAccessCache();
}