diff options
Diffstat (limited to 'server/src/service.lua')
-rw-r--r-- | server/src/service.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/service.lua b/server/src/service.lua index 0edfe935..0ec563e8 100644 --- a/server/src/service.lua +++ b/server/src/service.lua @@ -91,9 +91,9 @@ function mt:_doProto(proto) return end if type(response) == 'function' then - return function (final) + response(function (final) self:responseProto(id, final) - end + end) else self:responseProto(id, response, err) end |