]> git.lizzy.rs Git - luairc.git/commitdiff
send the user set ip address to the irc server (for whatever that's worth, i don...
authorjluehrs2 <jluehrs2@uiuc.edu>
Tue, 4 Sep 2007 05:07:09 +0000 (00:07 -0500)
committerjluehrs2 <jluehrs2@uiuc.edu>
Tue, 4 Sep 2007 05:07:09 +0000 (00:07 -0500)
src/irc.lua

index 6f57267611da64e6f45fd7ea0fcd5e984aab2489..8e30abe3f10e7e15e3c56eb59a30b2c40b94125a 100644 (file)
@@ -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
 -- }}}