diff options
| author | 2013-10-23 17:40:15 +0000 | |
|---|---|---|
| committer | 2013-10-23 17:40:15 +0000 | |
| commit | bbb625fbd7ee5ebb2e3e2564b3c7117f08200e7d (patch) | |
| tree | 8ab67260025801c3d6fec83b30b61e8ae8332337 /modules/xml.pl | |
| parent | 5239387031d9426a2001187789d4ae6a87dbd966 (diff) | |
all sorts of stuff changed. This is just one big code package update
Diffstat (limited to 'modules/xml.pl')
| -rw-r--r-- | modules/xml.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/xml.pl b/modules/xml.pl index e18e4c4..551dc3f 100644 --- a/modules/xml.pl +++ b/modules/xml.pl @@ -31,19 +31,23 @@ sub writeXML { } sub writeChannels { + $::settingschanged=1; $::xs1->XMLout($::channels, RootName => 'channels', KeyAttr => ['id'], NumericEscape => 2) > io("$::cset/channels.xml"); } sub writeUsers { + $::settingschanged=1; $::xs1->XMLout($::users, RootName => 'people', KeyAttr => ['id']) > io("$::cset/users.xml"); } sub writeSettings { + $::settingschanged=1; $::xs1->XMLout($::settings, RootName => 'settings', GroupTags => { altnicks => 'altnick', server => 'host', autojoins => 'autojoin' }, NoAttr => 1) > io("$::cset/settings.xml"); } sub writeRestrictions { + $::settingschanged=1; $::xs1->XMLout($::restrictions, RootName => 'restrictions', KeyAttr => ['id'], GroupTags => { hosts => "host", nicks => "nick", accounts => "account"}) > io("$::cset/restrictions.xml"); } |
