From ba55c0675df20a89a452162216af4b6a8e06ce5c Mon Sep 17 00:00:00 2001 From: William Heimbigner Date: Tue, 25 Mar 2008 17:05:22 +0000 Subject: Added dnsbl analysis, better sql, better rules, fixed some commands --- config-default/commands.xml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'config-default/commands.xml') diff --git a/config-default/commands.xml b/config-default/commands.xml index 5a4341c..3595281 100644 --- a/config-default/commands.xml +++ b/config-default/commands.xml @@ -1,4 +1,9 @@ + + privmsg($event->{to}->[0], "source is at http://svn.linuxrulz.org/repos/antispammeta"); + ]]> + {DBH}; @@ -40,7 +45,7 @@ {person}->{$nick}->{flags})) { $conn->privmsg($event->{to}->[0], "Flags for $nick: $::users->{person}->{$nick}->{flags}"); } else { @@ -124,7 +129,7 @@ $conn->privmsg($event->{to}->[0], "$nick removed from targets for $chan"); ]]> - + - + privmsg($event->{to}->[0], "$nick added to $level risk hilights for $chan"); ]]> - + privmsg($event->{to}->[0], $x . " exempted"); ]]> - + {to}->[0]; $tgt = $1 if (defined($1)); - my $msg = $2; + my $msg = $1; + $msg = $2 if defined($2); my $hilite=ASM::Util->commaAndify(ASM::Util->getAlert($tgt, 'opalert', 'hilights')); $conn->privmsg($_, "[$tgt] - $event->{nick} wants op attention ($msg) $hilite") foreach ASM::Util->getAlert($tgt, 'opalert', 'msgs'); ]]> -- cgit v1.2.3