Make DEFAULT_CHANNELS auto-recreate missing channels. Add new CHANNEL_MUDINFO setting.
This commit is contained in:
parent
dd8b3c1ba2
commit
c520ef86c9
6 changed files with 65 additions and 19 deletions
|
|
@ -76,6 +76,12 @@ def check_errors(settings):
|
|||
if hasattr(settings, "GAME_DIRECTORY_LISTING"):
|
||||
raise DeprecationWarning(game_directory_deprecation)
|
||||
|
||||
chan_connectinfo = settings.CHANNEL_CONNECTINFO
|
||||
if chan_connectinfo is not None and not isinstance(chan_connectinfo, dict):
|
||||
raise DeprecationWarning("settings.CHANNEL_CONNECTINFO has changed. It "
|
||||
"must now be either None or a dict "
|
||||
"specifying the properties of the channel to create.")
|
||||
|
||||
|
||||
def check_warnings(settings):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue