.BANCHO. .FIX. Fix special channels shown in channels list after system reload
This commit is contained in:
		@@ -308,8 +308,9 @@ 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():
 | 
				
			||||||
		glob.tokens.enqueueAll(serverPackets.channelInfo(key))
 | 
							if value.publicRead == True and value.hidden == False:
 | 
				
			||||||
 | 
								glob.tokens.enqueueAll(serverPackets.channelInfo(key))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return "Bancho settings reloaded!"
 | 
						return "Bancho settings reloaded!"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user