From 3739cab79ec34a7e6f19fc50b03a689d16b46a1d Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 25 Oct 2006 10:54:43 +0000 Subject: [PATCH] Call ->set_options() --- lib/ZOOM/IRSpy/Task/Connect.pm | 4 +++- lib/ZOOM/IRSpy/Task/Search.pm | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/ZOOM/IRSpy/Task/Connect.pm b/lib/ZOOM/IRSpy/Task/Connect.pm index ba73cd4..4c46053 100644 --- a/lib/ZOOM/IRSpy/Task/Connect.pm +++ b/lib/ZOOM/IRSpy/Task/Connect.pm @@ -1,4 +1,4 @@ -# $Id: Connect.pm,v 1.3 2006-10-12 16:54:13 mike Exp $ +# $Id: Connect.pm,v 1.4 2006-10-25 10:54:43 mike Exp $ # See ZOOM/IRSpy/Task/Search.pm for documentation @@ -20,6 +20,8 @@ sub new { sub run { my $this = shift(); + $this->set_options(); + my $conn = $this->conn(); $conn->log("irspy_task", "connecting"); $conn->connect($conn->option("host")); diff --git a/lib/ZOOM/IRSpy/Task/Search.pm b/lib/ZOOM/IRSpy/Task/Search.pm index d9184be..e3db632 100644 --- a/lib/ZOOM/IRSpy/Task/Search.pm +++ b/lib/ZOOM/IRSpy/Task/Search.pm @@ -1,4 +1,4 @@ -# $Id: Search.pm,v 1.3 2006-10-12 16:54:13 mike Exp $ +# $Id: Search.pm,v 1.4 2006-10-25 10:54:43 mike Exp $ package ZOOM::IRSpy::Task::Search; @@ -36,6 +36,8 @@ sub new { sub run { my $this = shift(); + $this->set_options(); + my $conn = $this->conn(); my $query = $this->{query}; $this->irspy()->log("irspy_task", $conn->option("host"), -- 1.7.10.4