summaryrefslogtreecommitdiffstats
path: root/modules/inspect.pl
diff options
context:
space:
mode:
Diffstat (limited to 'modules/inspect.pl')
-rw-r--r--modules/inspect.pl4
1 files changed, 2 insertions, 2 deletions
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"));