From: jluehrs2 Date: Tue, 4 Sep 2007 05:07:09 +0000 (-0500) Subject: send the user set ip address to the irc server (for whatever that's worth, i don... X-Git-Tag: 0.03~56 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=11f6faae12d9831add356fd276fdc881bc4cca2f;p=luairc.git send the user set ip address to the irc server (for whatever that's worth, i don't think it's used) --- diff --git a/src/irc.lua b/src/irc.lua index 6f57267..8e30abe 100644 --- a/src/irc.lua +++ b/src/irc.lua @@ -670,7 +670,7 @@ function connect(args) _register_socket(irc_sock, 'r', incoming_message) if args.pass then send("PASS", args.pass) end send("NICK", nick) - send("USER", username, (irc_sock:getsockname()), network, realname) + send("USER", username, get_ip(), network, realname) begin_main_loop() end -- }}}