From 10bf019ac2b7e0e1f6a6e9af790560cde21fc5ea Mon Sep 17 00:00:00 2001 From: William Heimbigner Date: Wed, 21 Jan 2009 20:36:17 +0000 Subject: added an \!att-channel-risk tag to the end of alerts --- modules/inspect.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') diff --git a/modules/inspect.pl b/modules/inspect.pl index b4972cb..22eac4c 100644 --- a/modules/inspect.pl +++ b/modules/inspect.pl @@ -57,6 +57,7 @@ sub inspect { $txtz = "\x03" . $::RCOLOR{$::RISKS{$dct{$id}{risk}}} . "\u$dct{$id}{risk}\x03 risk threat [\x02$chan\x02]: ". "\x02$event->{nick}\x02 - ${nicereason}; ping "; $txtz = $txtz . ASM::Util->commaAndify(ASM::Util->getAlert(lc $chan, $dct{$id}{risk}, 'hilights')) if (ASM::Util->getAlert(lc $chan, $dct{$id}{risk}, 'hilights')); + $txtz = $txtz . ' !att-' . $chan . '-' . $dct{$id}{risk}; if (ASM::Util->cs(lc $chan)->{op} ne 'no') { if ($event->{type} eq 'topic') { #restore old topic my $oldtopic = $::sc{lc $event->{to}->[0]}{topic}{text}; -- cgit v1.2.3