make prefix a setting

This commit is contained in:
InspectorCaracal 2023-12-12 14:45:52 -07:00 committed by GitHub
parent 6e096fa3cb
commit 92a3e04756
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -179,7 +179,7 @@ _AT_SEARCH_RESULT = variable_from_module(*settings.SEARCH_AT_RESULT.rsplit(".",
# The prefix is the (single-character) symbol used to find the start # The prefix is the (single-character) symbol used to find the start
# of a object reference, such as /tall (note that # of a object reference, such as /tall (note that
# the system will understand multi-word references like '/a tall man' too). # the system will understand multi-word references like '/a tall man' too).
_PREFIX = "/" _PREFIX = getattr(settings, 'RPSYSTEM_EMOTE_PREFIX', "/")
# The num_sep is the (single-character) symbol used to separate the # The num_sep is the (single-character) symbol used to separate the
# sdesc from the number when trying to separate identical sdescs from # sdesc from the number when trying to separate identical sdescs from