Hallejuja ...
This commit is contained in:
parent
3f037d0abe
commit
fb6e9934a0
@ -65,11 +65,13 @@ sc.registered_commands[cname] = function(player, parameter)
|
||||
line = " [" .. player .. "@" .. sc.servername .. "] " .. message
|
||||
if(sc.irc_on) then
|
||||
all_send_to_irc(line)
|
||||
minetest.log("action", line)
|
||||
|
||||
end -- if(sc.irc_on)
|
||||
|
||||
if(sc.matterbridge) then
|
||||
all_send_to_bridge(player, line)
|
||||
minetest.log("action", "[Matterbridge] " .. line)
|
||||
|
||||
end -- if(sc.matterbridge
|
||||
|
||||
@ -81,11 +83,13 @@ sc.registered_commands[cname] = function(player, parameter)
|
||||
line = " [" .. player .. "@" .. sc.servername .. "] " .. message
|
||||
if(sc.irc_on) then
|
||||
all_send_to_irc(line)
|
||||
minetest.log("action", line)
|
||||
|
||||
end -- if(sc.irc_on)
|
||||
|
||||
if(sc.matterbridge) then
|
||||
all_send_to_bridge(player, line)
|
||||
minetest.log("action", "[Matterbridge] " .. line)
|
||||
|
||||
end -- if(matterbridge
|
||||
|
||||
|
@ -16,7 +16,7 @@ sc.register_help({
|
||||
)
|
||||
|
||||
local all_send_to_irc = function (message)
|
||||
local line = "PRIVMSG " .. sc.irc_channel .. message .. sc.crlf
|
||||
local line = "PRIVMSG " .. sc.irc_channel .. " " .. message .. sc.crlf
|
||||
|
||||
sc.client:send(line)
|
||||
sc.irc_message_count = 1 -- This prevents for IRC-Echos of multiple player
|
||||
@ -64,14 +64,16 @@ sc.registered_commands[cname] = function(player, parameter)
|
||||
end -- for (_,player
|
||||
|
||||
sc.chat(player, sc.green .. message) -- send to own channel
|
||||
line = " [" .. player .. "@" .. sc.servername .. "]" .. message
|
||||
line = "[" .. player .. "@" .. sc.servername .. "]" .. message
|
||||
if(sc.irc_on) then
|
||||
all_send_to_irc(line)
|
||||
minetest.log("action", line)
|
||||
|
||||
end
|
||||
|
||||
if(sc.matterbridge) then
|
||||
all_send_to_bridge(player, line)
|
||||
minetest.log("action", "[Matterbridge] " .. line)
|
||||
|
||||
end -- if(matterbridge)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user