From d7aa95f5ee6f1d03c707f5a1ecc87f6c3dee0b05 Mon Sep 17 00:00:00 2001 From: William Heimbigner Date: Wed, 30 May 2012 22:12:30 +0000 Subject: make rules private, properly handle ghosting/releasing, added a proxy list, much faster join/startup --- modules/inspect.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/inspect.pl') diff --git a/modules/inspect.pl b/modules/inspect.pl index c3a9c1a..6a4afec 100644 --- a/modules/inspect.pl +++ b/modules/inspect.pl @@ -32,11 +32,11 @@ sub inspect { } } else { -# $iaddr = gethostbyname($event->{host}); + $iaddr = gethostbyname($event->{host}); $rev = join('.', reverse(unpack('C4', $iaddr))).'.' if (defined $iaddr); } ## NB: isn't there a better way to do this with grep, somehow? - %aonx = %{$::channels->{channel}->{master}->{event}}; + %aonx = %{$::rules->{event}}; foreach $chan ( @{$event->{to}} ) { next unless $chan =~ /^#/; next if ((defined($::channels->{channel}->{$chan}->{monitor})) and ($::channels->{channel}->{$chan}->{monitor} eq "no")); -- cgit v1.2.3