.BANCHO. .FIX. Fix special channels shown in channels list after system reload
This commit is contained in:
parent
59bcb351cf
commit
0e74e5c1ce
|
@ -308,8 +308,9 @@ def systemReload(fro, chan, message):
|
|||
# Send new channels and new bottom icon to everyone
|
||||
glob.tokens.enqueueAll(serverPackets.mainMenuIcon(glob.banchoConf.config["menuIcon"]))
|
||||
glob.tokens.enqueueAll(serverPackets.channelInfoEnd())
|
||||
for key, _ in glob.channels.channels.items():
|
||||
glob.tokens.enqueueAll(serverPackets.channelInfo(key))
|
||||
for key, value in glob.channels.channels.items():
|
||||
if value.publicRead == True and value.hidden == False:
|
||||
glob.tokens.enqueueAll(serverPackets.channelInfo(key))
|
||||
|
||||
return "Bancho settings reloaded!"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user