From 566c36647cb05d58c97af14db1e37df0b54bcf2c Mon Sep 17 00:00:00 2001 From: William Heimbigner Date: Tue, 21 Aug 2012 07:49:29 +0000 Subject: stats p tracking, better pingpong stuff, added an XML setting for a master chan rather than having one hardcoded, state tracking for channel URL --- modules/xml.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'modules/xml.pl') 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(); -- cgit v1.2.3