summaryrefslogtreecommitdiff
path: root/server-beta/src/pub/report.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/src/pub/report.lua')
-rw-r--r--server-beta/src/pub/report.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/server-beta/src/pub/report.lua b/server-beta/src/pub/report.lua
index d73a4e69..edd3ee0e 100644
--- a/server-beta/src/pub/report.lua
+++ b/server-beta/src/pub/report.lua
@@ -1,5 +1,5 @@
-local pub = require 'pub.pub'
-local task = require 'task'
+local pub = require 'pub.pub'
+local await = require 'await'
pub.on('log', function (params, brave)
log.raw(brave.id, params.level, params.msg, params.src, params.line)
@@ -11,7 +11,7 @@ end)
pub.on('proto', function (params)
local proto = require 'proto'
- task.create(function ()
+ await.create(function ()
if params.method then
proto.doMethod(params)
else