summaryrefslogtreecommitdiff
path: root/server/src/core/diagnostics.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/core/diagnostics.lua')
-rw-r--r--server/src/core/diagnostics.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/server/src/core/diagnostics.lua b/server/src/core/diagnostics.lua
index f052d7d2..571e083b 100644
--- a/server/src/core/diagnostics.lua
+++ b/server/src/core/diagnostics.lua
@@ -214,9 +214,6 @@ function mt:searchRedundantParameters(callback)
return
end
local max = #func.args
- if func:getObject() then
- max = max + 1
- end
local passed = #args
for i = max + 1, passed do
local extra = args[i]