summaryrefslogtreecommitdiffstats
path: root/modules/xml.pl
diff options
context:
space:
mode:
authorLibravatarWilliam Heimbigner <william.heimbigner@gmail.com>2012-08-21 07:49:29 +0000
committerLibravatarWilliam Heimbigner <william.heimbigner@gmail.com>2012-08-21 07:49:29 +0000
commit566c36647cb05d58c97af14db1e37df0b54bcf2c (patch)
treeb8c654558a984ef575839f6b0fecc6213454fb9d /modules/xml.pl
parent4fb036a66821ef4749dfdb3ebc598ef21e2e4502 (diff)
stats p tracking, better pingpong stuff, added an XML setting for a master chan rather than having one hardcoded, state tracking for channel URL
Diffstat (limited to 'modules/xml.pl')
-rw-r--r--modules/xml.pl7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/xml.pl b/modules/xml.pl
index a23df77..e9b96aa 100644
--- a/modules/xml.pl
+++ b/modules/xml.pl
@@ -23,9 +23,10 @@ sub readXML {
sub writeXML {
$::xs1->XMLout($::settings, RootName => 'settings', KeyAttr => ['id'],
GroupTags => { altnicks => 'altnick', server => 'host', autojoins => 'autojoin' },
- ValueAttr => { debug => 'content', nick => 'content', port => 'content',
- realname => 'content', username => 'content', dir => 'content',
- zone => 'content', filefmt => 'content', timefmt => 'content'}) > io("$::cset/settings.xml");
+ ValueAttr => { debug => 'content', nick => 'content', port => 'content',
+ realname => 'content', username => 'content', dir => 'content',
+ zone => 'content', filefmt => 'content', timefmt => 'content',
+ masterchan => 'content', debugchan => 'content'}) > io("$::cset/settings.xml");
writeChannels();
writeUsers();
writeRestrictions();