Compare commits

..

No commits in common. "master" and "nalc-1.0" have entirely different histories.

3 changed files with 1 additions and 10 deletions

View File

@ -1,8 +0,0 @@
unused_args = false
allow_defined_top = true
read_globals = {
"minetest",
"irc",
}

View File

@ -2,7 +2,7 @@
local irc_users = {} local irc_users = {}
local old_chat_send_player = minetest.chat_send_player local old_chat_send_player = minetest.chat_send_player
minetest.chat_send_player = function(name, message) -- luacheck: ignore minetest.chat_send_player = function(name, message)
for nick, loggedInAs in pairs(irc_users) do for nick, loggedInAs in pairs(irc_users) do
if name == loggedInAs and not minetest.get_player_by_name(name) then if name == loggedInAs and not minetest.get_player_by_name(name) then
irc:say(nick, message) irc:say(nick, message)

View File

@ -1 +0,0 @@
name = irc_commands