mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +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!
|
#Build Number for ANT. Do not edit!
|
||||||
#Wed Dec 18 14:44:11 CET 2013
|
#Wed Dec 18 18:43:50 CET 2013
|
||||||
build.number=695
|
build.number=696
|
||||||
|
@ -97,8 +97,9 @@ public class TFM_SuperadminList
|
|||||||
public static void updateIndexLists()
|
public static void updateIndexLists()
|
||||||
{
|
{
|
||||||
superadminNames.clear();
|
superadminNames.clear();
|
||||||
superadminIPs.clear();
|
telnetadminNames.clear();
|
||||||
senioradminNames.clear();
|
senioradminNames.clear();
|
||||||
|
superadminIPs.clear();
|
||||||
|
|
||||||
Iterator<Entry<String, TFM_Superadmin>> it = superadminList.entrySet().iterator();
|
Iterator<Entry<String, TFM_Superadmin>> it = superadminList.entrySet().iterator();
|
||||||
while (it.hasNext())
|
while (it.hasNext())
|
||||||
@ -135,8 +136,9 @@ public class TFM_SuperadminList
|
|||||||
}
|
}
|
||||||
|
|
||||||
superadminNames = TFM_Util.removeDuplicates(superadminNames);
|
superadminNames = TFM_Util.removeDuplicates(superadminNames);
|
||||||
superadminIPs = TFM_Util.removeDuplicates(superadminIPs);
|
telnetadminNames = TFM_Util.removeDuplicates(telnetadminNames);
|
||||||
senioradminNames = TFM_Util.removeDuplicates(senioradminNames);
|
senioradminNames = TFM_Util.removeDuplicates(senioradminNames);
|
||||||
|
superadminIPs = TFM_Util.removeDuplicates(superadminIPs);
|
||||||
|
|
||||||
TFM_AdminWorld.getInstance().wipeAccessCache();
|
TFM_AdminWorld.getInstance().wipeAccessCache();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user