summaryrefslogtreecommitdiffstats
path: root/modules/inspect.pl
diff options
context:
space:
mode:
authorLibravatarWilliam Heimbigner <william.heimbigner@gmail.com>2012-05-30 22:12:30 +0000
committerLibravatarWilliam Heimbigner <william.heimbigner@gmail.com>2012-05-30 22:12:30 +0000
commitd7aa95f5ee6f1d03c707f5a1ecc87f6c3dee0b05 (patch)
treebb87b71e6be9ada37e7d3c4e7a6e7f9e7e417b6d /modules/inspect.pl
parent14eb8a77479507875fe77640dd044d1a462e568a (diff)
make rules private, properly handle ghosting/releasing, added a proxy list, much faster join/startup
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"));