summaryrefslogtreecommitdiffstats
path: root/modules/xml.pl
diff options
context:
space:
mode:
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();