socket/actions: Fix regular actions

This commit is contained in:
Tom Wiesing 2023-11-11 10:46:18 +01:00
parent 10b93ddbe8
commit a23aeb0f8b
No known key found for this signature in database

View file

@ -54,7 +54,7 @@ func (sockets *Sockets) regularAction(a actions.WebsocketAction) (name string, a
meta := a.Action()
return meta.Name, proto.Action{
NumParams: meta.NumParams + 1,
NumParams: meta.NumParams,
Scope: meta.Scope,
ScopeParam: meta.ScopeParam,