Merge branch 'master' into develop
This commit is contained in:
commit
f9700619b7
3 changed files with 9 additions and 8 deletions
|
|
@ -70,6 +70,9 @@ from django.conf import settings
|
|||
|
||||
from evennia.utils import utils, logger
|
||||
|
||||
# The stack size is a security measure. Set to <=0 to disable.
|
||||
_STACK_MAXSIZE = settings.INLINEFUNC_STACK_MAXSIZE
|
||||
|
||||
|
||||
# example/testing inline functions
|
||||
|
||||
|
|
@ -279,12 +282,6 @@ for module in utils.make_iter(settings.INLINEFUNC_MODULES):
|
|||
raise
|
||||
|
||||
|
||||
# The stack size is a security measure. Set to <=0 to disable.
|
||||
try:
|
||||
_STACK_MAXSIZE = settings.INLINEFUNC_STACK_MAXSIZE
|
||||
except AttributeError:
|
||||
_STACK_MAXSIZE = 20
|
||||
|
||||
# regex definitions
|
||||
|
||||
_RE_STARTTOKEN = re.compile(r"(?<!\\)\$(\w+)\(") # unescaped $funcname( (start of function call)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue