diff --git a/docs/scripting.xml b/docs/scripting.xml
index f898268c2..dbcae4c80 100644
--- a/docs/scripting.xml
+++ b/docs/scripting.xml
@@ -2768,7 +2768,7 @@ try(socket:send(result))
construct consumes the indicator value and returns the
remaining values. If the function failed then the second
returned value must be a string describing the error
- condition. Note that that if the value is not nil it is
+ condition. Note that if the value is not nil it is
treated as true so you can return your
value in the normal case and return nil, error description
if an error occurs.