From 0293b9d684ce2f89a1850b7a0d4819bdd1c947ef Mon Sep 17 00:00:00 2001 From: William Heimbigner Date: Sun, 25 Nov 2007 21:33:40 +0000 Subject: better logging, better flood detection, command ignoring --- config-default/channels.xml | 31 +++++++++++++++++++++++++------ config-default/commands.xml | 9 +++++++++ config-default/users.xml | 1 + 3 files changed, 35 insertions(+), 6 deletions(-) (limited to 'config-default') diff --git a/config-default/channels.xml b/config-default/channels.xml index c79d99b..a91e4af 100644 --- a/config-default/channels.xml +++ b/config-default/channels.xml @@ -6,7 +6,7 @@ - + ST47 alindeman @@ -54,6 +54,7 @@ + njan @@ -77,7 +78,7 @@ - + tomaw Dave2 @@ -100,6 +101,10 @@ #freenode-adb + + + + @@ -121,6 +126,10 @@ + + + + Mbimmler @@ -128,7 +137,7 @@ Fabexplosive - #wikimedia-ops + #wikimedia-ops @@ -164,6 +173,7 @@ Mbimmler Karlprof Martinp23 + Pilotguy Pilotguy Eagle-101 skenmy @@ -181,9 +191,11 @@ njan mike42 Pilotguy + kloeri #wikimedia-ops + ##wikimedia-ops @@ -195,7 +207,7 @@ - + Cometstyles Majorly Worby @@ -205,6 +217,7 @@ wimt werdan7 Animum + Deskana AppleBoy Soms Martinp23 @@ -214,12 +227,15 @@ #wikimedia-ops + ##wikimedia-ops TheLetterE werdan7 + GDonato + TheLetterE #wikimedia-ops @@ -251,6 +267,7 @@ Golbez + TheLetterE #wikimedia-ops @@ -263,8 +280,7 @@ ^requested by ChanServ - tinyurl\.com/ypvk4n - blah + blah .* ^DCC SEND |\bDCC SEND "?[A-Za-z0-9]+"? \d+ \d+ \d+ DCC SEND @@ -282,6 +298,7 @@ contentisuseless i=magical 5:3 + 5:3 150:20 .* RED ARMY OF LOL @@ -290,8 +307,10 @@ AfterDeath ST47 + troubled alindeman seanw + dave2 ##asb-nexus diff --git a/config-default/commands.xml b/config-default/commands.xml index 3ab49e9..5a4341c 100644 --- a/config-default/commands.xml +++ b/config-default/commands.xml @@ -1,4 +1,13 @@ + + {DBH}; + if ($1 eq 'log') { + $dbh = $::db->{DBH_LOG}; + } + $::db->raw($conn, $event->{to}->[0], $dbh, $2); + ]]> + privmsg($event->{to}->[0], "help is at http://meta.wikimedia.org/wiki/User:WHeimbigner/AntiSpamMeta"); diff --git a/config-default/users.xml b/config-default/users.xml index 88fbd66..f0fc3a6 100644 --- a/config-default/users.xml +++ b/config-default/users.xml @@ -17,5 +17,6 @@ + -- cgit v1.2.3