aboutsummaryrefslogtreecommitdiff
path: root/script.h
diff options
context:
space:
mode:
Diffstat (limited to 'script.h')
-rw-r--r--script.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/script.h b/script.h
index f724d99793..da904ef489 100644
--- a/script.h
+++ b/script.h
@@ -599,6 +599,8 @@ public:
bool IsPushOnly() const
{
+ if (size() > 200)
+ return false;
const_iterator pc = begin();
while (pc < end())
{