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.lua21
1 files changed, 0 insertions, 21 deletions
diff --git a/server-beta/src/pub/report.lua b/server-beta/src/pub/report.lua
deleted file mode 100644
index edd3ee0e..00000000
--- a/server-beta/src/pub/report.lua
+++ /dev/null
@@ -1,21 +0,0 @@
-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)
-end)
-
-pub.on('mem', function (count, brave)
- brave.memory = count
-end)
-
-pub.on('proto', function (params)
- local proto = require 'proto'
- await.create(function ()
- if params.method then
- proto.doMethod(params)
- else
- proto.doResponse(params)
- end
- end)
-end)