forked from minetest-mods/irc
Testing
This commit is contained in:
parent
e39df9cd63
commit
83db0a739d
@ -30,14 +30,7 @@ minetest.register_chatcommand("irc_connect", {
|
||||
minetest.chat_send_player(name, "IRC: You are already connected.");
|
||||
return;
|
||||
end
|
||||
mt_irc.connect_ok = pcall(irc.connect, {
|
||||
network = mt_irc.server;
|
||||
port = mt_irc.port;
|
||||
nick = mt_irc.server_nick;
|
||||
pass = mt_irc.password;
|
||||
timeout = mt_irc.timeout;
|
||||
channel = mt_irc.channel;
|
||||
});
|
||||
mt_irc.connect();
|
||||
minetest.chat_send_player(name, "IRC: You are now connected.");
|
||||
irc.say(mt_irc.channel, name.." joined the channel.");
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user