mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-30 02:05:41 +00:00
Filter duplicate Telnet admin names
This commit is contained in:
parent
3e71286507
commit
60f71c9dfc
@ -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
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user