Optionally wrap HTTP API with QoS
This commit is contained in:
parent
a05c16b930
commit
31982afd91
2
init.lua
2
init.lua
@ -3,7 +3,7 @@
|
|||||||
-- Mod settings -- Change these to your liking
|
-- Mod settings -- Change these to your liking
|
||||||
|
|
||||||
|
|
||||||
local http = minetest.request_http_api()
|
local http = QoS and QoS(minetest.request_http_api(), 1) or minetest.request_http_api()
|
||||||
|
|
||||||
beerchat = {
|
beerchat = {
|
||||||
-- The main channel is the one you send messages to when no channel is specified
|
-- The main channel is the one you send messages to when no channel is specified
|
||||||
|
Loading…
x
Reference in New Issue
Block a user