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