We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4fbccd commit 66bb7fcCopy full SHA for 66bb7fc
player_part.lua
@@ -13,6 +13,8 @@ end
13
function irc.player_join(name)
14
if irc.joined_players[name] then
15
return false, "You are already in the channel"
16
+ elseif not minetest.get_player_by_name(name) then
17
+ return false, "You need to be in-game to join the channel"
18
end
19
irc.joined_players[name] = true
20
return true, "You joined the channel"
0 commit comments