diff options
| author | 2009-01-21 20:36:17 +0000 | |
|---|---|---|
| committer | 2009-01-21 20:36:17 +0000 | |
| commit | 10bf019ac2b7e0e1f6a6e9af790560cde21fc5ea (patch) | |
| tree | 5651371eca8caeabf69d9e5f73e53beb8a5f96d9 | |
| parent | 8ce06aa083418ff4807f0893276c4adb8004fde1 (diff) | |
added an \!att-channel-risk tag to the end of alerts
| -rw-r--r-- | modules/inspect.pl | 1 |
1 files changed, 1 insertions, 0 deletions
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}; |
