* Changed max statements to 900. It was possible that it reached the 1000 limit before checking if there were too many statements.

* Minor tweak to the length() proc.
This commit is contained in:
Giacomand
2013-08-05 02:32:28 +01:00
parent 8180f4d18a
commit da2adeb755
2 changed files with 2 additions and 1 deletions
@@ -127,6 +127,7 @@
if(container)
if(istype(container, /list) || istext(container))
return length(container)
return 0
// BY DONKIE~
// String stuff
@@ -33,7 +33,7 @@
status=0
returnVal
max_statements=1000 // maximum amount of statements that can be called in one execution. this is to prevent massive crashes and exploitation
max_statements=900 // maximum amount of statements that can be called in one execution. this is to prevent massive crashes and exploitation
cur_statements=0 // current amount of statements called
alertadmins=0 // set to 1 if the admins shouldn't be notified of anymore issues
max_iterations=100 // max number of uninterrupted loops possible