Check modchannel

master
HimbeerserverDE 2021-03-02 16:51:10 +01:00
parent b1ab44ca8c
commit 4eb0f9b3ef
No known key found for this signature in database
GPG Key ID: 1A651504791E6A8B
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ multiserver.do_rpc = function(msg, cbf)
end
minetest.register_on_modchannel_message(function(channel_name, sender, msg)
if channel_name ~= "multiserver" then return end
local rrq = multiserver.fromhex(msg:split(" ")[1])
local cmd = msg:split(" ")[2]
local p