From 6fe4d3ecbdc3196c7c62b9b7e00d5063bd0dbee9 Mon Sep 17 00:00:00 2001 From: William Heimbigner Date: Tue, 3 Jul 2007 23:26:43 +0000 Subject: code optimizations, rehash bugfix, lots of cleanup, new hilights, removed some old rules, added and improved some new rules --- config-default/channels.xml | 30 +++++++++++++++++++++++------- config-default/commands.xml | 16 ++++++++++------ config-default/settings.xml | 4 ++-- 3 files changed, 35 insertions(+), 15 deletions(-) (limited to 'config-default') diff --git a/config-default/channels.xml b/config-default/channels.xml index 9cefb35..035fcd4 100644 --- a/config-default/channels.xml +++ b/config-default/channels.xml @@ -38,7 +38,9 @@ numist PhilKC - + + ##linux-ops + @@ -63,6 +65,11 @@ newmanbe + + + #wikimedia-ops + + White_cat @@ -102,12 +109,16 @@ stylus Martinp23 Soms + Daniel-Bryant + amidaniel + Gracenotes + SWATJester #wikimedia-ops - + White_Cat AppleBoy @@ -142,7 +153,12 @@ #wikimedia-ops - + + + #wikimedia-ops + + + 15:45 @@ -152,7 +168,7 @@ ^DCC SEND |\bDCC SEND "?[A-Za-z0-9]+"? \d+ \d+ \d+ DCC SEND \bDCC SEND - ^... DDOS COUNTDOWN ...$ + ^... DDOS COUNTDOWN.* via paypal if you DoS somone for dnsbl.dronebl.org rbl.efnet.org @@ -167,16 +183,16 @@ http://\S+\.on\.nimp\.org ^lesbian..$ i=magical - 5:3 + 5:3 5:3 - ^cupid..$ - MUDKIP.. 150:20 .* RED ARMY OF LOL \.com/sms.exe hello sir, my name is Chris Benoit and I am a WWE MASS MURDERER. sure are a ?lot of wikifag + DCC SEND + contentisuseless AfterDeath diff --git a/config-default/commands.xml b/config-default/commands.xml index 6b36aa4..5e5f9e8 100644 --- a/config-default/commands.xml +++ b/config-default/commands.xml @@ -162,7 +162,7 @@ readXML(); $conn->privmsg($event->{to}->[0], 'config files were re-read'); ]]> @@ -178,21 +178,25 @@ > io 'exempt.txt'; - $conn->privmsg($event->{to}->[0], "$1 exempted"); + $::eline{lc $1} = 1; + "lc $1\n" >> io 'exempt.txt'; + $conn->privmsg($event->{to}->[0], "lc $1 exempted"); ]]> {to}->[0], 'opalert', 'hilights')); - $conn->privmsg($_, "$hilite: $event->{nick} wants your attention ($1) ") foreach getAlert($event->{to}->[0], 'opalert', 'msgs'); + my $hilite=ASM::Util->commaAndify(ASM::Util->getAlert($event->{to}->[0], 'opalert', 'hilights')); + $conn->privmsg($_, "$hilite: $event->{nick} wants your attention ($1) ") foreach ASM::Util->getAlert($event->{to}->[0], 'opalert', 'msgs'); ]]> getlines; chomp @eline; + %::eline = (); + foreach my $item (@eline) { + $::eline{lc $item} = 1; + } ]]> diff --git a/config-default/settings.xml b/config-default/settings.xml index f90dde6..cb9e554 100644 --- a/config-default/settings.xml +++ b/config-default/settings.xml @@ -20,8 +20,8 @@ #wikimedia-commons-social - logs/$chan - $chan-%m-%d-%Y.log + logs/ + -%m-%d-%Y.log %B %d %T GMT -- cgit v1.2.3