.BANCHO. .FIX. Fix chat filters

This commit is contained in:
Nyo
2016-08-10 12:00:33 +02:00
parent 9ea11c9e0e
commit a5fd8b0431
8 changed files with 62 additions and 62 deletions

View File

@@ -296,12 +296,15 @@ def systemShutdown(fro, chan, message):
return restartShutdown(False)
def systemReload(fro, chan, message):
#Reload settings from bancho_settings
# Reload settings from bancho_settings
glob.banchoConf.loadSettings()
# Reload channels too
glob.channels.loadChannels()
# And chat filters
glob.chatFilters.loadFilters()
# Send new channels and new bottom icon to everyone
glob.tokens.enqueueAll(serverPackets.mainMenuIcon(glob.banchoConf.config["menuIcon"]))
glob.tokens.enqueueAll(serverPackets.channelInfoEnd())