diff options
| author | 2007-10-08 13:28:23 +0000 | |
|---|---|---|
| committer | 2007-10-08 13:28:23 +0000 | |
| commit | 917638dfdf31e26ae9115dabb5c2fe528866c549 (patch) | |
| tree | d5ab13c057983bff1fac0ed64638bb105f8f03b7 /modules/xml.pl | |
| parent | 3790452619828dc2c5d27c13eeec7b67b3fe6eff (diff) | |
added a db command, improved the user set flags command, added linked channels, added a showhilights command, eliminated flooding of alerts, fixed nickspam check, added something to watch chancounts.
Diffstat (limited to 'modules/xml.pl')
| -rw-r--r-- | modules/xml.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/xml.pl b/modules/xml.pl index c3da924..1978af9 100644 --- a/modules/xml.pl +++ b/modules/xml.pl @@ -11,8 +11,9 @@ sub readXML { my ( $p ) = $::cset; #@_; $p = 'default' if $p eq ''; $p = "config-$p"; + my @fchan = ( 'event', keys %::RISKS ); $::settings = $::xs1->XMLin( "$p/settings.xml", ForceArray => ['host'], 'GroupTags' => { altnicks => 'altnick', server => 'host', autojoins => 'autojoin' }); - $::channels = $::xs1->XMLin( "$p/channels.xml", ForceArray => [qw/event debug info low medium high/]); + $::channels = $::xs1->XMLin( "$p/channels.xml", ForceArray => \@fchan ); $::users = $::xs1->XMLin( "$p/users.xml", ForceArray => 'person'); $::commands = $::xs1->XMLin( "$p/commands.xml", ForceArray => [qw/command/]); $::mysql = $::xs1->XMLin( "$p/mysql.xml", ForceArray => []); |
