From cca3bcc2cf7e0b7bd8d365aa77ae75716bdbcf6e Mon Sep 17 00:00:00 2001 From: William Heimbigner Date: Thu, 14 Jan 2016 13:56:55 -0700 Subject: Remove commands.xml, move everything kinda-nicely into the main Commander module. --- lib/ASM/XML.pm | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/ASM/XML.pm') diff --git a/lib/ASM/XML.pm b/lib/ASM/XML.pm index 15ec811..d464847 100644 --- a/lib/ASM/XML.pm +++ b/lib/ASM/XML.pm @@ -17,7 +17,6 @@ sub readXML { autojoins => 'autojoin' }); $::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 => ['ident', 'geco'], 'GroupTags' => { ignoredidents => 'ident', ignoredgecos => 'geco' }); $::dnsbl = $::xs1->XMLin( "$p/dnsbl.xml", ForceArray => []); @@ -33,7 +32,6 @@ sub writeXML { writeRestrictions(); writeBlacklist(); writeMysql(); -# $::xs1->XMLout($::commands, RootName => 'commands', KeyAttr => ['id']) > io("$::cset/commands.xml"); } sub writeMysql { -- cgit v1.2.3