diff options
author | jluehrs2 <jluehrs2@uiuc.edu> | 2007-09-04 17:14:44 -0500 |
---|---|---|
committer | jluehrs2 <jluehrs2@uiuc.edu> | 2007-09-04 17:14:44 -0500 |
commit | 0d03aed0b7f4191f2687730bec8c9336c754cdef (patch) | |
tree | 55722087a4db09276a200fa23c92b72839d0eba0 | |
parent | 88ace15010276a3c2d1afbe68527df743dbf226c (diff) | |
download | luairc-0d03aed0b7f4191f2687730bec8c9336c754cdef.tar.gz luairc-0d03aed0b7f4191f2687730bec8c9336c754cdef.zip |
use my local get_ip program to provide an appropriate ip address for dcc transfer testing
-rw-r--r-- | test/test.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test.lua b/test/test.lua index eb40efa..b3e4869 100644 --- a/test/test.lua +++ b/test/test.lua @@ -104,6 +104,11 @@ local dcc = require "irc.dcc" irc.DEBUG = true +local ip_prog = io.popen("get_ip") +local ip = ip_prog:read() +ip_prog:close() +irc.set_ip(ip) + local function print_state() for chan in irc.channels() do print(chan..": Channel ops: "..table.concat(chan:ops(), " ")) |