From 0d03aed0b7f4191f2687730bec8c9336c754cdef Mon Sep 17 00:00:00 2001 From: jluehrs2 Date: Tue, 4 Sep 2007 17:14:44 -0500 Subject: use my local get_ip program to provide an appropriate ip address for dcc transfer testing --- test/test.lua | 5 +++++ 1 file changed, 5 insertions(+) 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(), " ")) -- cgit v1.2.3-54-g00ecf